Spaces:
Running
Running
Disabled StyleTTS v2 and WhisperSpeech; fix CPU Kokoro
Browse files
app.py
CHANGED
@@ -76,10 +76,10 @@ AVAILABLE_MODELS = {
|
|
76 |
# HF Gradio Spaces: # <works with gradio version #>
|
77 |
# gravio version that works with most spaces: 4.29
|
78 |
'coqui/xtts': 'coqui/xtts', # 4.29 4.32
|
79 |
-
'collabora/WhisperSpeech': 'collabora/WhisperSpeech', # 4.32 4.36.1
|
80 |
# 'myshell-ai/OpenVoice': 'myshell-ai/OpenVoice', # same devs as MeloTTS, which scores higher # 4.29
|
81 |
# 'myshell-ai/OpenVoiceV2': 'myshell-ai/OpenVoiceV2', # same devs as MeloTTS, which scores higher # 4.29
|
82 |
-
#'mrfakename/MetaVoice-1B-v0.1': 'mrfakename/MetaVoice-1B-v0.1', # 4.29 4.32
|
83 |
'Pendrokar/xVASynth-TTS': 'Pendrokar/xVASynth-TTS', # 4.29 4.32 4.42.0
|
84 |
# 'coqui/CoquiTTS': 'coqui/CoquiTTS',
|
85 |
'mrfakename/MeloTTS': 'mrfakename/MeloTTS', # 4.29 4.32
|
@@ -107,7 +107,7 @@ AVAILABLE_MODELS = {
|
|
107 |
'Flux9665/EnglishToucan': 'Flux9665/EnglishToucan', # 5.1
|
108 |
|
109 |
# StyleTTS v2
|
110 |
-
'Pendrokar/style-tts-2': 'Pendrokar/style-tts-2',
|
111 |
# StyleTTS kokoro
|
112 |
'hexgrad/kokoro': 'hexgrad/kokoro',
|
113 |
|
@@ -290,7 +290,7 @@ HF_SPACES = {
|
|
290 |
|
291 |
# StyleTTS v2 kokoro fine tune
|
292 |
'hexgrad/kokoro': {
|
293 |
-
'name': 'StyleTTS
|
294 |
'function': '/generate',
|
295 |
'text_param_index': 0,
|
296 |
'return_audio_index': 0,
|
@@ -451,6 +451,8 @@ OVERRIDE_INPUTS = {
|
|
451 |
1: "af", #voice
|
452 |
2: None, #ps
|
453 |
3: 1, #speed
|
|
|
|
|
454 |
},
|
455 |
|
456 |
# maskGCT (by amphion)
|
|
|
76 |
# HF Gradio Spaces: # <works with gradio version #>
|
77 |
# gravio version that works with most spaces: 4.29
|
78 |
'coqui/xtts': 'coqui/xtts', # 4.29 4.32
|
79 |
+
# 'collabora/WhisperSpeech': 'collabora/WhisperSpeech', # 4.32 4.36.1 DEAD SPACE
|
80 |
# 'myshell-ai/OpenVoice': 'myshell-ai/OpenVoice', # same devs as MeloTTS, which scores higher # 4.29
|
81 |
# 'myshell-ai/OpenVoiceV2': 'myshell-ai/OpenVoiceV2', # same devs as MeloTTS, which scores higher # 4.29
|
82 |
+
#'mrfakename/MetaVoice-1B-v0.1': 'mrfakename/MetaVoice-1B-v0.1', # 4.29 4.32 DEAD SPACE
|
83 |
'Pendrokar/xVASynth-TTS': 'Pendrokar/xVASynth-TTS', # 4.29 4.32 4.42.0
|
84 |
# 'coqui/CoquiTTS': 'coqui/CoquiTTS',
|
85 |
'mrfakename/MeloTTS': 'mrfakename/MeloTTS', # 4.29 4.32
|
|
|
107 |
'Flux9665/EnglishToucan': 'Flux9665/EnglishToucan', # 5.1
|
108 |
|
109 |
# StyleTTS v2
|
110 |
+
# 'Pendrokar/style-tts-2': 'Pendrokar/style-tts-2', # saving ZeroGPU resources; more votes in OG arena; emotionless
|
111 |
# StyleTTS kokoro
|
112 |
'hexgrad/kokoro': 'hexgrad/kokoro',
|
113 |
|
|
|
290 |
|
291 |
# StyleTTS v2 kokoro fine tune
|
292 |
'hexgrad/kokoro': {
|
293 |
+
'name': 'StyleTTS Kokoro',
|
294 |
'function': '/generate',
|
295 |
'text_param_index': 0,
|
296 |
'return_audio_index': 0,
|
|
|
451 |
1: "af", #voice
|
452 |
2: None, #ps
|
453 |
3: 1, #speed
|
454 |
+
5: 3000, #trim
|
455 |
+
11: False, #use_gpu; fast enough with multithreaded with CPU
|
456 |
},
|
457 |
|
458 |
# maskGCT (by amphion)
|