Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
b4b8ec0
1
Parent(s):
a6fb107
debug
Browse files- README.md +3 -1
- requirements.txt +2 -0
- webui.py +2 -1
README.md
CHANGED
|
@@ -7,11 +7,13 @@ sdk: gradio
|
|
| 7 |
sdk_version: 5.34.1
|
| 8 |
app_file: webui.py
|
| 9 |
pinned: false
|
| 10 |
-
license:
|
| 11 |
preload_from_hub:
|
| 12 |
- IndexTeam/IndexTTS-2
|
| 13 |
- amphion/MaskGCT
|
| 14 |
- funasr/campplus
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 7 |
sdk_version: 5.34.1
|
| 8 |
app_file: webui.py
|
| 9 |
pinned: false
|
| 10 |
+
license: apache-2.0
|
| 11 |
preload_from_hub:
|
| 12 |
- IndexTeam/IndexTTS-2
|
| 13 |
- amphion/MaskGCT
|
| 14 |
- funasr/campplus
|
| 15 |
+
- facebook/w2v-bert-2.0
|
| 16 |
+
- nvidia/bigvgan_v2_22khz_80band_256x
|
| 17 |
---
|
| 18 |
|
| 19 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
requirements.txt
CHANGED
|
@@ -25,6 +25,8 @@ sentencepiece
|
|
| 25 |
gradio
|
| 26 |
tqdm
|
| 27 |
textstat
|
|
|
|
|
|
|
| 28 |
|
| 29 |
WeTextProcessing; platform_machine != "Darwin"
|
| 30 |
wetext; platform_system == "Darwin"
|
|
|
|
| 25 |
gradio
|
| 26 |
tqdm
|
| 27 |
textstat
|
| 28 |
+
huggingface_hub
|
| 29 |
+
spaces
|
| 30 |
|
| 31 |
WeTextProcessing; platform_machine != "Darwin"
|
| 32 |
wetext; platform_system == "Darwin"
|
webui.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import json
|
| 2 |
import logging
|
|
|
|
| 3 |
import os
|
| 4 |
import sys
|
| 5 |
import threading
|
|
@@ -79,7 +80,7 @@ with open("examples/cases.jsonl", "r", encoding="utf-8") as f:
|
|
| 79 |
example.get("emo_vec_8",0)]
|
| 80 |
)
|
| 81 |
|
| 82 |
-
|
| 83 |
def gen_single(emo_control_method,prompt, text,
|
| 84 |
emo_ref_path, emo_weight,
|
| 85 |
vec1, vec2, vec3, vec4, vec5, vec6, vec7, vec8,
|
|
|
|
| 1 |
import json
|
| 2 |
import logging
|
| 3 |
+
import spaces
|
| 4 |
import os
|
| 5 |
import sys
|
| 6 |
import threading
|
|
|
|
| 80 |
example.get("emo_vec_8",0)]
|
| 81 |
)
|
| 82 |
|
| 83 |
+
@spaces.GPU
|
| 84 |
def gen_single(emo_control_method,prompt, text,
|
| 85 |
emo_ref_path, emo_weight,
|
| 86 |
vec1, vec2, vec3, vec4, vec5, vec6, vec7, vec8,
|