Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -162,10 +162,9 @@ with gr.ChatInterface(
|
|
162 |
)
|
163 |
|
164 |
if enable_tts and passwordInput == ttsPassword:
|
165 |
-
generate_voice(output, voice_id)
|
166 |
elif enable_tts and passwordInput != ttsPassword:
|
167 |
gr.Warning("Incorrect Password!")
|
168 |
|
169 |
-
out_audio = generate_voice()
|
170 |
|
171 |
iface.launch(show_api=False)
|
|
|
162 |
)
|
163 |
|
164 |
if enable_tts and passwordInput == ttsPassword:
|
165 |
+
out_audio = generate_voice(output, voice_id)
|
166 |
elif enable_tts and passwordInput != ttsPassword:
|
167 |
gr.Warning("Incorrect Password!")
|
168 |
|
|
|
169 |
|
170 |
iface.launch(show_api=False)
|