mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 22:55:46 +01:00
Will use system architecture for ffmpeg (#1059)
This commit is contained in:
parent
2b974ea1f0
commit
8ac5172239
2 changed files with 4 additions and 11 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -58,12 +58,8 @@ jobs:
|
|||
~/AppData/Local/Buzz/Buzz/Cache
|
||||
key: whisper-models
|
||||
|
||||
- uses: FedericoCarboni/setup-ffmpeg@v3.1
|
||||
- uses: AnimMouse/setup-ffmpeg@v1
|
||||
id: setup-ffmpeg
|
||||
with:
|
||||
ffmpeg-version: release
|
||||
architecture: 'x64'
|
||||
github-token: ${{ github.server_url == 'https://github.com' && github.token || '' }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: poetry install
|
||||
|
|
@ -121,12 +117,8 @@ jobs:
|
|||
path: .venv
|
||||
key: venv-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/poetry.lock') }}
|
||||
|
||||
- uses: FedericoCarboni/setup-ffmpeg@v3.1
|
||||
- uses: AnimMouse/setup-ffmpeg@v1
|
||||
id: setup-ffmpeg
|
||||
with:
|
||||
ffmpeg-version: release
|
||||
architecture: 'x64'
|
||||
github-token: ${{ github.server_url == 'https://github.com' && github.token || '' }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: poetry install
|
||||
|
|
|
|||
|
|
@ -269,7 +269,8 @@ class ModelsPreferencesWidget(QWidget):
|
|||
QMessageBox.warning(self, _("Error"), f"{download_failed_label}: {error}")
|
||||
|
||||
def on_download_progress(self, progress: tuple):
|
||||
self.progress_dialog.set_value(float(progress[0]) / progress[1])
|
||||
if progress[1] != 0:
|
||||
self.progress_dialog.set_value(float(progress[0]) / progress[1])
|
||||
|
||||
def on_progress_dialog_canceled(self):
|
||||
self.model_downloader.cancel()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue