srinuksv commited on
Commit
1c8ab2e
·
verified ·
1 Parent(s): 1f72b74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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 {"message": "Welcome to the API"}
 
 
191
  return {"response": response}
192
 
193
  @app.get("/")
194
+ def read_root(request: Request):
195
+ return templates.TemplateResponse("home.html", {"request": request})
196
+