Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
encripted
/
README
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
mutugigen
commited on
Oct 25, 2024
Commit
b341174
·
verified
·
1 Parent(s):
6be4be2
Create app.py
Browse files
from fastapi import FastAPI
app = FastAPI()
@
app
.get("/")
def greet_json():
return {"Hello": "World!"}
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
from fastapi import FastAPI
2
+
3
+
app = FastAPI()
4
+
5
+
@app.get("/")
6
+
def greet_json():
7
+
return {"Hello": "World!"}