Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
DataChem
/
custom-api
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
b1eaaf5
custom-api
/
app.py
DataChem
Create app.py
e05b36f
verified
5 months ago
raw
Copy download link
history
blame
Safe
107 Bytes
from
fastapi
import
FastAPI
app = FastAPI()
@app.get(
"/"
)
def
read_root
():
return
{
"Hello"
:
"World"
}