Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ 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":
|
77 |
api_thread.start()
|
78 |
|
79 |
# Lancer Gradio sur le port 7860
|
|
|
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
|