Spaces:
Runtime error
Runtime error
from fastapi import FastAPI | |
app = FastAPI() | |
async def root(): | |
return {"message": "Hello World"} | |
async def say_hello(name: str): | |
return {"message": f"Hello {name}"} | |