Spaces:
Paused
Paused
zhenyundeng
commited on
Commit
·
12b19b8
1
Parent(s):
a5e0b9e
update app.py
Browse files
app.py
CHANGED
@@ -5,3 +5,7 @@ app = FastAPI()
|
|
5 |
@app.get("/")
|
6 |
def greet_json():
|
7 |
return {"Hello": "World!"}
|
|
|
|
|
|
|
|
|
|
5 |
@app.get("/")
|
6 |
def greet_json():
|
7 |
return {"Hello": "World!"}
|
8 |
+
|
9 |
+
if __name__ == "__main__":
|
10 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|
11 |
+
|