Spaces:
Running
Running
Commit
·
5f8f5f0
1
Parent(s):
f4de142
Update main.py file
Browse files
main.py
CHANGED
@@ -43,4 +43,8 @@ async def health_check():
|
|
43 |
|
44 |
@app.get("/")
|
45 |
async def root():
|
46 |
-
return {"message": "Hello World"}
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
@app.get("/")
|
45 |
async def root():
|
46 |
+
return {"message": "Hello World"}
|
47 |
+
|
48 |
+
if __name__ == "__main__":
|
49 |
+
import uvicorn
|
50 |
+
uvicorn.run(app, host="0.0.0.0", port=8000)
|