Eric Michael Martinez commited on
Commit
36b62bb
1 Parent(s): d6a168c
Files changed (1) hide show
  1. main.py +2 -3
main.py CHANGED
@@ -1,4 +1,3 @@
1
- import uvicorn
2
 
3
- if __name__ == "__main__":
4
- uvicorn.run(f"app.app:app", host="0.0.0.0", port=7860, log_level="info")
 
1
+ import subprocess
2
 
3
+ subprocess.run("uvicorn modules.app:app --host 0.0.0.0 --port 7860", shell=True)