import subprocess subprocess.run("GUNICORN_CMD_ARGS='--timeout=500 --bind=0.0.0.0:7860' gunicorn 'quickstart_sst_demo:get_wsgi_app()'", shell=True)