object-detection / main.py
mingyang91's picture
init commit
f977726 verified
raw
history blame
217 Bytes
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
async def root():
return {"message": "Hello World"}
@app.get("/hello/{name}")
async def say_hello(name: str):
return {"message": f"Hello {name}"}