Spaces:
Running
on
Zero
Running
on
Zero
F5 & Melo text index fix
Browse files- app/models.py +2 -5
app/models.py
CHANGED
@@ -148,7 +148,7 @@ HF_SPACES = {
|
|
148 |
'mrfakename/MeloTTS': {
|
149 |
'name': 'MeloTTS',
|
150 |
'function': '/synthesize',
|
151 |
-
'text_param_index':
|
152 |
'return_audio_index': 0,
|
153 |
'series': 'MeloTTS',
|
154 |
},
|
@@ -206,7 +206,7 @@ HF_SPACES = {
|
|
206 |
'mrfakename/E2-F5-TTS': {
|
207 |
'name': 'F5 TTS',
|
208 |
'function': '/basic_tts',
|
209 |
-
'text_param_index':
|
210 |
'return_audio_index': 0,
|
211 |
'is_zero_gpu_space': True,
|
212 |
'series': 'E2/F5 TTS',
|
@@ -347,9 +347,6 @@ OVERRIDE_INPUTS = {
|
|
347 |
4: 'No', # split by newline
|
348 |
},
|
349 |
'mrfakename/MeloTTS': {
|
350 |
-
# 1: 'EN-Default', # speaker; DEFAULT_VOICE_SAMPLE=EN-Default
|
351 |
-
# 2: 1, # speed
|
352 |
-
# 3: 'EN', # language
|
353 |
'speaker': 'EN-Default', # DEFAULT_VOICE_SAMPLE=EN-Default
|
354 |
'speed': 1.0,
|
355 |
'language': 'EN',
|
|
|
148 |
'mrfakename/MeloTTS': {
|
149 |
'name': 'MeloTTS',
|
150 |
'function': '/synthesize',
|
151 |
+
'text_param_index': 'text',
|
152 |
'return_audio_index': 0,
|
153 |
'series': 'MeloTTS',
|
154 |
},
|
|
|
206 |
'mrfakename/E2-F5-TTS': {
|
207 |
'name': 'F5 TTS',
|
208 |
'function': '/basic_tts',
|
209 |
+
'text_param_index': 'gen_text_input',
|
210 |
'return_audio_index': 0,
|
211 |
'is_zero_gpu_space': True,
|
212 |
'series': 'E2/F5 TTS',
|
|
|
347 |
4: 'No', # split by newline
|
348 |
},
|
349 |
'mrfakename/MeloTTS': {
|
|
|
|
|
|
|
350 |
'speaker': 'EN-Default', # DEFAULT_VOICE_SAMPLE=EN-Default
|
351 |
'speed': 1.0,
|
352 |
'language': 'EN',
|