Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -191,5 +191,6 @@ async def chat(request: MessageRequest):
|
|
191 |
return {"response": response}
|
192 |
|
193 |
@app.get("/")
|
194 |
-
def read_root():
|
195 |
-
return {"
|
|
|
|
191 |
return {"response": response}
|
192 |
|
193 |
@app.get("/")
|
194 |
+
def read_root(request: Request):
|
195 |
+
return templates.TemplateResponse("home.html", {"request": request})
|
196 |
+
|