Spaces:
Runtime error
Runtime error
Commit
·
d39eab7
1
Parent(s):
1c30e88
other changes
Browse files
app.py
CHANGED
@@ -18,7 +18,8 @@ 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 |
speaker = gr.inputs.Dropdown(label="Speaker", choices=[])
|
23 |
|
24 |
def set_model(model_name_str):
|
|
|
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.InputComponent(input_type=model_name_dropdown)
|
22 |
+
|
23 |
speaker = gr.inputs.Dropdown(label="Speaker", choices=[])
|
24 |
|
25 |
def set_model(model_name_str):
|