Ath commited on
Commit
4dff7ec
·
verified ·
1 Parent(s): 5fbb19b

Update app.py

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