Spaces:
Running
Running
Update main.py
Browse files5 unmodified lines6789101112135 unmodified linesapp = FastAPI()# Environment variablesTOKEN = os.getenv("CHARACTERAI_TOKEN")CHARACTER_ID = os.getenv("CHARACTERAI_CHARACTER_ID")@app.get("/chat")async def chat_with_character(message: str = Query(..., description="Message to send")):5 unmodified lines6789101112135 unmodified linesapp = FastAPI()# Environment variablesTOKEN = "1b57232563116c2a5f5e73fba3be3d943a99d720"CHARACTER_ID = "8zp8K166t6uBeX760DWXxkibR5wSVk-Oi4r0NC1bQZY"@app.get("/chat")async def chat_with_character(message: str = Query(..., description="Message to send")):
main.py+2-2