Explorar el Código

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

* Fix button height

* Streaming support

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Convert to 1 channel

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix Conversion bug

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix target path

* Add checkpoint selection

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix gpup decorator

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add link for labeler

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Localize labeler

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add LoRA llama config

* Allow download stream audio

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* asr

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add cache auto recycling

* 多打了一个字母

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Check 'compile' avaliable

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add vits-decoder UI support & Fix bugs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Configurable audio length, i18n

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Label Exception

* Add workflow

* Update build-windows-package.yml

* Update build-windows-package.yml

* Fix workflow: models remove

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Push to HF

* Modify Workflow

* Fix

* Free from Zipping

* Remove vits bf16-true & Fix orkflow

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
spicysama hace 1 año
padre
commit
3b5c0df049
Se han modificado 2 ficheros con 12 adiciones y 14 borrados
  1. 11 13
      .github/workflows/build-windows-package.yml
  2. 1 1
      fish_speech/webui/manage.py

+ 11 - 13
.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

+ 1 - 1
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"
                                 ),