Ath
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def chat_and_tts(user_input, history):
|
|
57 |
audio_path = 'response_audio.mp3'
|
58 |
with open(audio_path, 'wb') as file:
|
59 |
file.write(tts_response.content)
|
60 |
-
print("Audio file saved successfully") # Add this line to check if audio file is saved
|
61 |
else:
|
62 |
audio_path = None
|
63 |
|
|
|
57 |
audio_path = 'response_audio.mp3'
|
58 |
with open(audio_path, 'wb') as file:
|
59 |
file.write(tts_response.content)
|
60 |
+
print("Audio file saved successfully:", audio_path) # Add this line to check if audio file is saved
|
61 |
else:
|
62 |
audio_path = None
|
63 |
|