sr4 commited on
Commit
7828df8
·
verified ·
1 Parent(s): 7e741a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
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
- iface.launch(
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)))