Danil commited on
Commit
08ccc2c
Β·
1 Parent(s): 46b04e0
Files changed (1) hide show
  1. app.py +1 -1
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"] = True
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()