Skip to content

SOTA Open Source TTS

Remove vits bf16-true & Fix workflow (#181)

spicysama3b5c0df049a7
diff --git a/.github/workflows/build-windows-package.yml b/.github/workflows/build-windows-package.yml
index 7929b4a..282ef14 100644
--- a/.github/workflows/build-windows-package.yml
+++ b/.github/workflows/build-windows-package.yml
@@ -52,16 +52,14 @@ jobs:
name: fish-speech-main-${{ github.run_id }}
path: ./fish-speech
- # - name: Check and Compress fish-speech
- # run: |
- # if [ ! -f fish-speech-main-${{ github.run_id }}.zip ]; then
- # zip -qr fish-speech-main-${{ github.run_id }}.zip ./fish-speech
- # else
- # echo "Zip file already exists, skipping compression."
- # fi
-
- # - name: Upload to Hugging Face
- # env:
- # HF_TOKEN: ${{ secrets.HF_TOKEN }}
- # run: |
- # huggingface-cli upload SpicyqSama007/fish-speech-packed ./fish-speech-main-${{ github.run_id }}.zip fish-speech-main-${{ github.run_id }}.zip
+ - name: Upload to Hugging Face
+ env:
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
+ run: |
+ if [ "${{ github.actor }}" = "AnyaCoder" ]; then
+ echo "Author is AnyaCoder. Performing the zipping && upload."
+ zip -qr fish-speech-main-${{ github.run_id }}.zip ./fish-speech
+ huggingface-cli upload SpicyqSama007/fish-speech-packed ./fish-speech-main-${{ github.run_id }}.zip fish-speech-main-${{ github.run_id }}.zip
+ else
+ echo "Author is not AnyaCoder. No upload performed."
+ fi
diff --git a/fish_speech/webui/manage.py b/fish_speech/webui/manage.py
index 883b09b..baf6f4b 100644
--- a/fish_speech/webui/manage.py
+++ b/fish_speech/webui/manage.py
@@ -973,7 +973,7 @@ with gr.Blocks(
vits_precision_dropdown = gr.Dropdown(
label=i18n("Precision"),
interactive=True,
- choices=["32", "bf16-true", "bf16-mixed"],
+ choices=["32", "bf16-mixed"],
info=i18n(
"bf16-true is recommended for 30+ series GPU, 16-mixed is recommended for 10+ series GPU"
),