Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,8 @@ SPEAKERS = {}
|
|
14 |
manager = ModelManager()
|
15 |
MODEL_NAMES = manager.list_tts_models()
|
16 |
|
17 |
-
# filter out multi-speaker models
|
18 |
-
filters = ["vctk", "your_tts"]
|
19 |
MODEL_NAMES = [model_name for model_name in MODEL_NAMES if not any(f in model_name for f in filters)]
|
20 |
|
21 |
# reorder models
|
@@ -86,7 +86,7 @@ iface = gr.Interface(
|
|
86 |
inputs=[
|
87 |
gr.inputs.Textbox(
|
88 |
label="Input Text",
|
89 |
-
default="
|
90 |
),
|
91 |
gr.inputs.Radio(
|
92 |
label="Pick a TTS Model - (language/dataset/model_name)",
|
|
|
14 |
manager = ModelManager()
|
15 |
MODEL_NAMES = manager.list_tts_models()
|
16 |
|
17 |
+
# filter out multi-speaker models and slow wavegrad vocoders
|
18 |
+
filters = ["vctk", "your_tts", "ek1"]
|
19 |
MODEL_NAMES = [model_name for model_name in MODEL_NAMES if not any(f in model_name for f in filters)]
|
20 |
|
21 |
# reorder models
|
|
|
86 |
inputs=[
|
87 |
gr.inputs.Textbox(
|
88 |
label="Input Text",
|
89 |
+
default="This sentence has been generated by a speech synthesis system.",
|
90 |
),
|
91 |
gr.inputs.Radio(
|
92 |
label="Pick a TTS Model - (language/dataset/model_name)",
|