test-fastapi / app.py
traversaal-ai's picture
Update app.py
ec17867 verified
raw
history blame
164 Bytes
from fastapi import FastAPI
app = FastAPI()
@app.get("/predict")
async def read_root():
return {"message": "Welcome to my FastAPI deployment on Hugging Face!"}