Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Arafath10/fastapi-demo-v1
Arafath10
/
curfox_test_api
like
0
Sleeping
App
Files
Files
Community
bfc8f4e
curfox_test_api
/
main.py
dotku
Create main.py
feca41c
about 1 year ago
raw
Copy download link
history
blame
Safe
126 Bytes
from
fastapi
import
FastAPI
app = FastAPI()
@app.get(
"/api/python"
)
def
hello_world
():
return
{
"message"
:
"Hello World"
}