Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -764,7 +764,7 @@ def crear_video(prompt_type, input_text, musica_file=None):
|
|
764 |
|
765 |
total_time = (datetime.now() - start_time).total_seconds()
|
766 |
logger.info(f"PROCESO DE VIDEO FINALIZADO | Output: {output_path} | Tiempo total: {total_time:.2f}s")
|
767 |
-
|
768 |
return output_path
|
769 |
|
770 |
except ValueError as ve:
|
@@ -837,12 +837,7 @@ def crear_video(prompt_type, input_text, musica_file=None):
|
|
837 |
logger.warning(f"No se pudo eliminar archivo temporal intermedio {path}: {str(e)}")
|
838 |
|
839 |
logger.info(f"Directorio temporal intermedio {temp_dir_intermediate} persistir谩 para que Gradio lea el video final.")
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
schedule_delete(temp_dir_intermediate, delay_seconds=10800)
|
844 |
-
|
845 |
-
return output_path
|
846 |
|
847 |
def run_app(prompt_type, prompt_ia, prompt_manual, musica_file):
|
848 |
logger.info("="*80)
|
|
|
764 |
|
765 |
total_time = (datetime.now() - start_time).total_seconds()
|
766 |
logger.info(f"PROCESO DE VIDEO FINALIZADO | Output: {output_path} | Tiempo total: {total_time:.2f}s")
|
767 |
+
schedule_delete(temp_dir_intermediate, delay_seconds=10800)
|
768 |
return output_path
|
769 |
|
770 |
except ValueError as ve:
|
|
|
837 |
logger.warning(f"No se pudo eliminar archivo temporal intermedio {path}: {str(e)}")
|
838 |
|
839 |
logger.info(f"Directorio temporal intermedio {temp_dir_intermediate} persistir谩 para que Gradio lea el video final.")
|
840 |
+
|
|
|
|
|
|
|
|
|
|
|
841 |
|
842 |
def run_app(prompt_type, prompt_ia, prompt_manual, musica_file):
|
843 |
logger.info("="*80)
|