Spaces:
Running
Running
Update app.py
Browse files
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 += "
|
| 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
|