Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -151,7 +151,6 @@ def generate_text(
|
|
151 |
print("Using TTS!")
|
152 |
lastAudio = generate_voice(output, voice_id_before, elevenlabs_api_key)
|
153 |
# Create a tuple message with the output and the audio output
|
154 |
-
output_message = (output, (audio_output, "This is an audio file"))
|
155 |
elif password != ttsPassword and password != '':
|
156 |
gr.Warning("Wrong password!")
|
157 |
else:
|
|
|
151 |
print("Using TTS!")
|
152 |
lastAudio = generate_voice(output, voice_id_before, elevenlabs_api_key)
|
153 |
# Create a tuple message with the output and the audio output
|
|
|
154 |
elif password != ttsPassword and password != '':
|
155 |
gr.Warning("Wrong password!")
|
156 |
else:
|