60770bd
1
2
3
4
5
6
7
from fastapi import FastAPI app = FastAPI() @app.get("/generate") def generate(text: str): return {"output": text}