Spaces:
Runtime error
Runtime error
Commit
·
58791c2
1
Parent(s):
5b13b80
put speaker choice 92
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def main():
|
|
| 31 |
repo_files = list_repo_files(repo_id="balacoon/tts")
|
| 32 |
model_files = [x for x in repo_files if x.endswith("_cpu.addon")]
|
| 33 |
model_name_dropdown = gr.inputs.Dropdown(label="Model", choices=model_files)
|
| 34 |
-
speaker_dropdown = gr.inputs.Dropdown(label="Speaker", choices=[])
|
| 35 |
|
| 36 |
file_input = gr.inputs.File(label="Select a PDF File", type="file")
|
| 37 |
text = gr.outputs.Textbox()
|
|
|
|
| 31 |
repo_files = list_repo_files(repo_id="balacoon/tts")
|
| 32 |
model_files = [x for x in repo_files if x.endswith("_cpu.addon")]
|
| 33 |
model_name_dropdown = gr.inputs.Dropdown(label="Model", choices=model_files)
|
| 34 |
+
speaker_dropdown = gr.inputs.Dropdown(label="Speaker", choices=[92])
|
| 35 |
|
| 36 |
file_input = gr.inputs.File(label="Select a PDF File", type="file")
|
| 37 |
text = gr.outputs.Textbox()
|