Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
APOGEA
/
apiExample
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
01c9470
apiExample
/
app
/
main.py
rwheel
Update app/main.py
01c9470
over 2 years ago
raw
Copy download link
history
blame
137 Bytes
from
fastapi
import
FastAPI
app = FastAPI()
@app.get(
"/say_hello/"
)
async
def
say_hello
(
name
):
return
{
"message"
:
f"Hello
{name}
!"
}