Spaces:
Sleeping
Sleeping
Commit
·
e25a1f9
1
Parent(s):
e4d76a0
change app:app to main:app
Browse files
app.py
CHANGED
@@ -6,4 +6,4 @@ def greet_json():
|
|
6 |
|
7 |
if __name__ == "__main__":
|
8 |
import uvicorn
|
9 |
-
uvicorn.run("
|
|
|
6 |
|
7 |
if __name__ == "__main__":
|
8 |
import uvicorn
|
9 |
+
uvicorn.run("main:app", host="localhost", reload=True, port=8000)
|