Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1197,7 +1197,7 @@ def crear_video(prompt_type, input_text, musica_file=None):
|
|
1197 |
if not output_path or not isinstance(output_path, str):
|
1198 |
logger.critical(f"output_path no es válido: {output_path}")
|
1199 |
raise ValueError("El nombre del archivo de salida no es válido.")
|
1200 |
-
|
1201 |
video_final.write_videofile(
|
1202 |
filename=output_path,
|
1203 |
fps=24,
|
|
|
1197 |
if not output_path or not isinstance(output_path, str):
|
1198 |
logger.critical(f"output_path no es válido: {output_path}")
|
1199 |
raise ValueError("El nombre del archivo de salida no es válido.")
|
1200 |
+
try:
|
1201 |
video_final.write_videofile(
|
1202 |
filename=output_path,
|
1203 |
fps=24,
|