Spaces:
Runtime error
Runtime error
Danil
commited on
Commit
Β·
08ccc2c
1
Parent(s):
46b04e0
app.py
CHANGED
@@ -5,7 +5,7 @@ import json
|
|
5 |
|
6 |
def start_server():
|
7 |
os.system("uvicorn server:app --port 8080 --host 0.0.0.0 --workers 1")
|
8 |
-
os.environ["SSTART"] =
|
9 |
|
10 |
if os.environ.get('SSTART') is None:
|
11 |
start_server()
|
|
|
5 |
|
6 |
def start_server():
|
7 |
os.system("uvicorn server:app --port 8080 --host 0.0.0.0 --workers 1")
|
8 |
+
os.environ["SSTART"] = "1"
|
9 |
|
10 |
if os.environ.get('SSTART') is None:
|
11 |
start_server()
|