Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
GVAmaresh
/
later
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
61727d3
later
/
app.py
GVAmaresh
dev: built for ref
f7332b9
3 months ago
raw
Copy download link
history
blame
Safe
210 Bytes
from
fastapi
import
FastAPI
import
uvicorn
app = FastAPI()
@app.get(
"/"
)
def
read_root
():
return
{
"message"
:
"Hello, FastAPI!"
}
if
__name__ ==
"__main__"
:
uvicorn.run(app, host=
"0.0.0.0"
, port=
1200
)