rajeshradhakrishnan commited on
Commit
0fb89b5
·
1 Parent(s): c0f3434

English-Malayalam Translate v29

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -25,6 +25,6 @@ def index() -> FileResponse:
25
  templates = Jinja2Templates(directory="templates")
26
 
27
  @app.get("/chat")
28
- async def index():
29
  apikey = {"APIKEY": os.environ.get("API_KEY")}
30
  return templates.TemplateResponse("chat.html", {"apikey": apikey})
 
25
  templates = Jinja2Templates(directory="templates")
26
 
27
  @app.get("/chat")
28
+ async def chat():
29
  apikey = {"APIKEY": os.environ.get("API_KEY")}
30
  return templates.TemplateResponse("chat.html", {"apikey": apikey})