Spaces:
Sleeping
Sleeping
Commit ·
d1c8710
1
Parent(s): 03d59b8
test: remove async
Browse files10 unmodified lines1112131415161718192021222324252610 unmodified linesmessage: str@app.get("/favicon.ico")async def favicon():return FileResponse("static/favicon.ico", media_type="image/x-icon")@app.get("/")@app.get("/home")async def home():return "Hello World"@app.post("/webhook")async def webhook(request: WebhookRequest):# Access request body using request objectprint(request)return {"fulfillmentText": "Hello from the bot world"}10 unmodified lines1112131415161718192021222324252610 unmodified linesmessage: str@app.get("/favicon.ico")def favicon():return FileResponse("static/favicon.ico", media_type="image/x-icon")@app.get("/")@app.get("/home")def home():return "Hello World"@app.post("/webhook")def webhook(request: WebhookRequest):# Access request body using request objectprint(request)return {"fulfillmentText": "Hello from the bot world"}
app.py+3-3