Spaces:
Runtime error
Runtime error
Commit
·
05a4bb6
1
Parent(s):
d39eab7
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def main():
|
|
18 |
repo_files = list_repo_files(repo_id="balacoon/tts")
|
19 |
model_files = [x for x in repo_files if x.endswith("_cpu.addon")]
|
20 |
model_name_dropdown = gr.inputs.Dropdown(label="Model", choices=model_files)
|
21 |
-
model_name = gr.inputs.
|
22 |
|
23 |
speaker = gr.inputs.Dropdown(label="Speaker", choices=[])
|
24 |
|
|
|
18 |
repo_files = list_repo_files(repo_id="balacoon/tts")
|
19 |
model_files = [x for x in repo_files if x.endswith("_cpu.addon")]
|
20 |
model_name_dropdown = gr.inputs.Dropdown(label="Model", choices=model_files)
|
21 |
+
model_name = gr.inputs.Dropdown(input_type=model_name_dropdown)
|
22 |
|
23 |
speaker = gr.inputs.Dropdown(label="Speaker", choices=[])
|
24 |
|