Skip to content

Commit

Permalink
Fix Windows 10 build (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
chidiwilliams authored Apr 30, 2023
1 parent 6528bbc commit bfe3683
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ jobs:
sudo apt update
sudo apt install -y libpulse-mainloop-glib0 libegl1-mesa-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libportaudio2
fi
if [ "$RUNNER_OS" == "Windows" ]; then
curl -OL "https://github.com/ggerganov/whisper.cpp/releases/download/v1.3.0/whisper-bin-x64.zip"
unzip whisper-bin-x64.zip
mv main.exe whisper_cpp.exe
fi
poetry run make test
shell: bash

Expand Down Expand Up @@ -152,11 +152,11 @@ jobs:
poetry run make bundle_mac
elif [ "$RUNNER_OS" == "Windows" ]; then
curl -OL "https://github.com/ggerganov/whisper.cpp/releases/download/v1.3.0/whisper-bin-x64.zip"
unzip whisper-bin-x64.zip
mv main.exe whisper_cpp.exe
poetry run make bundle_windows
elif [ "$RUNNER_OS" == "Linux" ]; then
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
sudo apt update
sudo apt install -y libpulse-mainloop-glib0 libegl1-mesa-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libportaudio2
fi
poetry run make benchmarks
shell: bash

Expand Down
2 changes: 1 addition & 1 deletion buzz/widgets/models_preferences_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


class ModelsPreferencesWidget(QWidget):
def __init__(self, progress_dialog_modality: Optional[Qt.WindowModality] = None, parent: Optional[QWidget] = None):
def __init__(self, progress_dialog_modality=Qt.WindowModality.WindowModal, parent: Optional[QWidget] = None):
super().__init__(parent)

self.model_downloader: Optional[ModelDownloader] = None
Expand Down

0 comments on commit bfe3683

Please sign in to comment.