Spaces:
Runtime error
Runtime error
Commit
·
0fb89b5
1
Parent(s):
c0f3434
English-Malayalam Translate v29
Browse files
main.py
CHANGED
@@ -25,6 +25,6 @@ def index() -> FileResponse:
|
|
25 |
templates = Jinja2Templates(directory="templates")
|
26 |
|
27 |
@app.get("/chat")
|
28 |
-
async def
|
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})
|