Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -334,9 +334,7 @@ def main():
|
|
334 |
"share": True,
|
335 |
"show_error": True,
|
336 |
"quiet": False,
|
337 |
-
"inbrowser": False
|
338 |
-
"enable_queue": True,
|
339 |
-
"max_threads": 4
|
340 |
}
|
341 |
|
342 |
logger.info(f"Lanzando interfaz en puerto {launch_config['server_port']}...")
|
@@ -356,7 +354,7 @@ def main():
|
|
356 |
title="❌ Error de Configuración - Pedro TTS",
|
357 |
description=f"Error durante la inicialización: {str(e)}"
|
358 |
)
|
359 |
-
demo.launch(share=True, server_port=int(os.environ.get("PORT", 7860)))
|
360 |
except Exception as fallback_error:
|
361 |
logger.error(f"Error en interfaz de fallback: {fallback_error}")
|
362 |
print(f"Error crítico: No se puede inicializar la aplicación. {e}")
|
|
|
334 |
"share": True,
|
335 |
"show_error": True,
|
336 |
"quiet": False,
|
337 |
+
"inbrowser": False
|
|
|
|
|
338 |
}
|
339 |
|
340 |
logger.info(f"Lanzando interfaz en puerto {launch_config['server_port']}...")
|
|
|
354 |
title="❌ Error de Configuración - Pedro TTS",
|
355 |
description=f"Error durante la inicialización: {str(e)}"
|
356 |
)
|
357 |
+
demo.launch(share=True, server_name="0.0.0.0", server_port=int(os.environ.get("PORT", 7860)))
|
358 |
except Exception as fallback_error:
|
359 |
logger.error(f"Error en interfaz de fallback: {fallback_error}")
|
360 |
print(f"Error crítico: No se puede inicializar la aplicación. {e}")
|