lewiskimaru commited on
Commit
bd3c7b9
1 Parent(s): 2c6d88a

Update modules/app.py

Browse files
Files changed (1) hide show
  1. modules/app.py +1 -1
modules/app.py CHANGED
@@ -127,7 +127,7 @@ def translate_enter(userinput: str, source_lang: str, target_lang: str):
127
 
128
  @app.get("/", response_class=HTMLResponse)
129
  async def read_root(request: Request):
130
- return HTMLResponse(content=open(os.path.join(templates_folder, "index.html"), "r").read(), status_code=200)
131
 
132
  @app.post("/translate_detect/")
133
  async def translate_detect_endpoint(request: Request):
 
127
 
128
  @app.get("/", response_class=HTMLResponse)
129
  async def read_root(request: Request):
130
+ return HTMLResponse(content=open(os.path.join(templates_folder, "translator.html"), "r").read(), status_code=200)
131
 
132
  @app.post("/translate_detect/")
133
  async def translate_detect_endpoint(request: Request):