rafaa commited on
Commit
cd8748d
·
verified ·
1 Parent(s): fa891d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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)