Spaces:
Runtime error
Runtime error
from fastapi import FastAPI | |
from fastapi.responses import JSONResponse | |
app = FastAPI() | |
def read_root(): | |
return {"Hello": "World!"} | |
def read_json(): | |
return JSONResponse(content={"Hello": "World!"}) |