Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -74,8 +74,9 @@ def generateAudio(text_to_audio, s3_save_as, key_id):
|
|
74 |
# Upload the audio file to the S3 bucket
|
75 |
s3.upload_fileobj(audio, S3_BUCKET_NAME, s3_key)
|
76 |
|
77 |
-
Exception:
|
78 |
print("Error al guardar")
|
|
|
79 |
|
80 |
def save_text_to_speech(text, speaker=None):
|
81 |
# Preprocess text and recortar
|
|
|
74 |
# Upload the audio file to the S3 bucket
|
75 |
s3.upload_fileobj(audio, S3_BUCKET_NAME, s3_key)
|
76 |
|
77 |
+
except Exception as err:
|
78 |
print("Error al guardar")
|
79 |
+
print(err)
|
80 |
|
81 |
def save_text_to_speech(text, speaker=None):
|
82 |
# Preprocess text and recortar
|