rajeshradhakrishnan commited on
Commit
1f030e7
·
1 Parent(s): 89c1db9

English-Malayalam Translate v28

Browse files
main.py CHANGED
@@ -21,7 +21,7 @@ app.mount("/", StaticFiles(directory="static", html=True), name="static")
21
  # @app.get("/")
22
  # def index() -> FileResponse:
23
  # return FileResponse(path="/app/static/index.html", media_type="text/html")
24
- templates = Jinja2Templates(directory="static")
25
 
26
  @app.get("/", response_class=HTMLResponse)
27
  async def index(request: Request):
 
21
  # @app.get("/")
22
  # def index() -> FileResponse:
23
  # return FileResponse(path="/app/static/index.html", media_type="text/html")
24
+ templates = Jinja2Templates(directory="templates")
25
 
26
  @app.get("/", response_class=HTMLResponse)
27
  async def index(request: Request):
static/{index.html → templates/index.html} RENAMED
File without changes