Update app.py
Browse files
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.
|
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):
|