Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ NEW INFERENCE:
|
|
102 |
prompt = prompt
|
103 |
|
104 |
chosen_script = script_choices.get(
|
105 |
-
theme_dropdown.
|
106 |
|
107 |
gr.Info("Generating audio from prompt")
|
108 |
tts.tts_to_file(text=chosen_script,
|
|
|
102 |
prompt = prompt
|
103 |
|
104 |
chosen_script = script_choices.get(
|
105 |
+
theme_dropdown.value, {}).get(script_type, "")
|
106 |
|
107 |
gr.Info("Generating audio from prompt")
|
108 |
tts.tts_to_file(text=chosen_script,
|