Spaces:
Runtime error
Runtime error
rajeshradhakrishnan
commited on
Commit
·
0203d1c
1
Parent(s):
0c5793e
English-Malayalam Translate v28
Browse files
main.py
CHANGED
@@ -24,6 +24,6 @@ app.mount("/", StaticFiles(directory="static", html=True), name="static")
|
|
24 |
templates = Jinja2Templates(directory="templates")
|
25 |
|
26 |
@app.get("/", response_class=HTMLResponse)
|
27 |
-
async def index(
|
28 |
apikey = {"APIKEY": os.environ.get("API_KEY")}
|
29 |
-
return templates.TemplateResponse("index.html", {"
|
|
|
24 |
templates = Jinja2Templates(directory="templates")
|
25 |
|
26 |
@app.get("/", response_class=HTMLResponse)
|
27 |
+
async def index():
|
28 |
apikey = {"APIKEY": os.environ.get("API_KEY")}
|
29 |
+
return templates.TemplateResponse("index.html", {"apikey": apikey})
|