Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -543,9 +543,4 @@ with gr.Blocks(title="🗜️ Compresor Universal Pro Max", theme=gr.themes.Soft
|
|
| 543 |
|
| 544 |
# Lanzar interfaz
|
| 545 |
if __name__ == "__main__":
|
| 546 |
-
|
| 547 |
-
server_name="0.0.0.0",
|
| 548 |
-
server_port=7861,
|
| 549 |
-
show_error=True,
|
| 550 |
-
max_threads=min(psutil.cpu_count(), 10) # Limitar threads de Gradio
|
| 551 |
-
)
|
|
|
|
| 543 |
|
| 544 |
# Lanzar interfaz
|
| 545 |
if __name__ == "__main__":
|
| 546 |
+
iface.launch(server_name="0.0.0.0", server_port=int(os.environ.get("PORT", 7860)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|