Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ with gr.Blocks(title="French with Haitian accent TTS - Text to Speech", theme=gr
|
|
| 76 |
)
|
| 77 |
# Speaker selector (shown only if model has speakers)
|
| 78 |
# Pre-populate all available speakers for example table rendering
|
| 79 |
-
all_speakers = [
|
| 80 |
for _cfg in models_configs.values():
|
| 81 |
if _cfg and _cfg.get('speaker_id'):
|
| 82 |
all_speakers.extend(list(_cfg.speaker_id.keys()))
|
|
|
|
| 76 |
)
|
| 77 |
# Speaker selector (shown only if model has speakers)
|
| 78 |
# Pre-populate all available speakers for example table rendering
|
| 79 |
+
all_speakers = []
|
| 80 |
for _cfg in models_configs.values():
|
| 81 |
if _cfg and _cfg.get('speaker_id'):
|
| 82 |
all_speakers.extend(list(_cfg.speaker_id.keys()))
|