reztilop commited on
Commit
85b993c
·
verified ·
1 Parent(s): eeac519

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -73,8 +73,8 @@ if __name__ == "__main__":
73
  import threading
74
 
75
  # Lancer FastAPI dans un thread séparé
76
- api_thread = threading.Thread(target=uvicorn.run, args=(app,), kwargs={"host": "0.0.0.0", "port": 7861})
77
  api_thread.start()
78
 
79
  # Lancer Gradio sur le port 7860
80
- iface.launch(server_port=7860, share=True)
 
73
  import threading
74
 
75
  # Lancer FastAPI dans un thread séparé
76
+ api_thread = threading.Thread(target=uvicorn.run, args=(app,), kwargs={"host": "0.0.0.0", "port": 7860})
77
  api_thread.start()
78
 
79
  # Lancer Gradio sur le port 7860
80
+ iface.launch(server_port=7861, share=True)