ahassoun commited on
Commit
af4e51a
·
1 Parent(s): 25940ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ NEW INFERENCE:
102
  prompt = prompt
103
 
104
  chosen_script = script_choices.get(
105
- theme_dropdown.get_value(), {}).get(script_type, "")
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,