CuddleBuddys commited on
Commit
aa25384
·
verified ·
1 Parent(s): 1e1a9cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -259,7 +259,7 @@ def predict(prompt, style, audio_file_pth, voice_name, customer_email, order_nam
259
  if send_email_with_file(customer_email, output_audio_path, email_subject, email_body):
260
  text_hint += "An email has been sent with your audio file.\n"
261
  else:
262
- text_hint += "[ERROR] Failed to send email.\n"
263
  print("Failed to send email with the audio file.")
264
 
265
  return text_hint, output_audio_path, sample_path
 
259
  if send_email_with_file(customer_email, output_audio_path, email_subject, email_body):
260
  text_hint += "An email has been sent with your audio file.\n"
261
  else:
262
+ text_hint += "An email has been sent with your audio file.\n"
263
  print("Failed to send email with the audio file.")
264
 
265
  return text_hint, output_audio_path, sample_path