Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
om1chael
/
Pygame-story
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
cc897d6
Pygame-story
/
Code
/
app.py
om1chael
hello
26c4a8d
about 2 years ago
raw
Copy download link
history
blame
202 Bytes
import
uvicorn
from
fastapi
import
FastAPI
app = FastAPI()
@app.get(
"/"
)
def
read_root
():
return
{
"Hello"
:
"World!"
}
if
__name__ ==
'__main__'
:
uvicorn.run(
'main:app'
, port=
8000
, reload=
True
)