Sergidev commited on
Commit
2800109
1 Parent(s): 7530111

Update start.py

Browse files
Files changed (1) hide show
  1. start.py +3 -2
start.py CHANGED
@@ -1,5 +1,6 @@
1
  import subprocess
2
  import uvicorn
3
  import asyncio
4
- subprocess.run("loop = asyncio.get_event_loop()", shell=True)
5
- subprocess.run("loop.run_until_complete(uvicorn modules.app:app --host 0.0.0.0 --port 8000)", shell=True)
 
 
1
  import subprocess
2
  import uvicorn
3
  import asyncio
4
+
5
+ subprocess.run("loop = asyncio.get_event_loop()", shell=True)
6
+ subprocess.run("loop.run_until_complete(uvicorn modules.app:app --host 0.0.0.0 --port 8000)", shell=True)