Spaces:
Runtime error
Runtime error
rajeshradhakrishnan
commited on
Commit
•
2bb0092
1
Parent(s):
0fb89b5
English-Malayalam Translate v29
Browse files
main.py
CHANGED
@@ -22,7 +22,7 @@ app.mount("/", StaticFiles(directory="static", html=True), name="static")
|
|
22 |
def index() -> FileResponse:
|
23 |
return FileResponse(path="/app/static/index.html", media_type="text/html")
|
24 |
|
25 |
-
templates = Jinja2Templates(directory="templates")
|
26 |
|
27 |
@app.get("/chat")
|
28 |
async def chat():
|
|
|
22 |
def index() -> FileResponse:
|
23 |
return FileResponse(path="/app/static/index.html", media_type="text/html")
|
24 |
|
25 |
+
templates = Jinja2Templates(directory="/app/templates")
|
26 |
|
27 |
@app.get("/chat")
|
28 |
async def chat():
|