Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import requests
|
|
6 |
import socket
|
7 |
|
8 |
def start_server():
|
9 |
-
os.system("uvicorn
|
10 |
st.session_state['server_started'] = True
|
11 |
|
12 |
def is_port_in_use(port):
|
|
|
6 |
import socket
|
7 |
|
8 |
def start_server():
|
9 |
+
os.system("uvicorn server:app --port 8080 --host 0.0.0.0 --workers 2")
|
10 |
st.session_state['server_started'] = True
|
11 |
|
12 |
def is_port_in_use(port):
|