Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
dev-mode-explorers
/
dev-mode-python
like
1
Running
App
Files
Files
Community
main
dev-mode-python
/
app.py
sbrandeis
HF staff
Create app.py
5fa5a4a
verified
6 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
109 Bytes
from
fastapi
import
FastAPI
app = FastAPI()
@app.get(
"/"
)
def
greet_json
():
return
{
"Hello"
:
"World!"
}