Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
SpacesExamples/fastapi_dummy
lanbogao
/
docker_fastapi
like
0
Sleeping
App
Files
Files
Community
lanbogao
commited on
Mar 31, 2023
Commit
11175d2
•
1 Parent(s):
c26f5ec
Update main.py
Browse files
Files changed (1)
hide
show
main.py
+1
-1
main.py
CHANGED
Viewed
@@ -9,5 +9,5 @@ def read_root():
9
10
11
@app.get("/json")
12
-
def
read_root
():
13
return JSONResponse(content={"Hello": "World!"})
9
10
11
@app.get("/json")
12
+
def
read_json
():
13
return JSONResponse(content={"Hello": "World!"})