windmaple commited on
Commit
fc36b22
1 Parent(s): b924877

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer
7
 
8
  #subprocess.Popen(["gunicorn", "myapp:get_response", "--bind=0.0.0.0:7860"])
9
  #subprocess.Popen(["gunicorn", "myapp:get_wsgi_app", "--bind=0.0.0.0:7860"])
10
- subprocess.Popen("GUNICORN_CMD_ARGS='--timeout=500 --bind=0.0.0.0:7860' gunicorn 'quickstart_sst_demo:get_wsgi_app()'", shell=True)
11
 
12
  class RequestHandler(SimpleHTTPRequestHandler):
13
  def do_GET(self):
 
7
 
8
  #subprocess.Popen(["gunicorn", "myapp:get_response", "--bind=0.0.0.0:7860"])
9
  #subprocess.Popen(["gunicorn", "myapp:get_wsgi_app", "--bind=0.0.0.0:7860"])
10
+ subprocess.run("GUNICORN_CMD_ARGS='--timeout=500 --bind=0.0.0.0:7860' gunicorn 'quickstart_sst_demo:get_wsgi_app()'", shell=True)
11
 
12
  class RequestHandler(SimpleHTTPRequestHandler):
13
  def do_GET(self):