Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
guillaumeai
/
README
like
1
Runtime error
App
Files
Files
Community
main
README
/
app
/
app.py
jgwill
tst
a9056ff
10 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
133 Bytes
from
fastapi
import
FastAPI
app = FastAPI()
@app.get(
"/hello"
)
def
hello
(
name:
str
=
""
):
return
{
"message"
:
f"Hello
{name}
"
}