We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c62c435 commit 3085ffeCopy full SHA for 3085ffe
run.py
@@ -1,4 +1,5 @@
1
-import runpy
+from src.api.api import app
2
+import uvicorn
3
4
if __name__ == '__main__':
- runpy.run_module('src.api.api', run_name='__main__')
5
+ uvicorn.run(app, host="0.0.0.0", port=8000)
0 commit comments