Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
vansin
/
tetttttt
like
0
Sleeping
App
Files
Files
Community
main
tetttttt
/
api.py
vansin
feat: update
77009a0
4 months ago
raw
Copy download link
history
blame
contribute
delete
199 Bytes
from
fastapi
import
FastAPI
app = FastAPI()
@app.get(
"/"
)
def
read_root
():
return
"Hello, World!"
if
__name__ ==
"__main__"
:
import
uvicorn
uvicorn.run(app, host=
"0.0.0.0"
, port=
8000
)