YoBatM commited on
Commit
6ff817f
·
verified ·
1 Parent(s): 4a5693e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ app=FastAPI();
14
  templates = Jinja2Templates(directory="templates")
15
  @app.get("/",response_class=HTMLResponse)
16
  def test(request: Request,q:str="ls",body:bool=True):
17
- with open("v.tex","w") as k:
18
  k.write(format(q))
19
 
20
  return templates.TemplateResponse("latex.html",
 
14
  templates = Jinja2Templates(directory="templates")
15
  @app.get("/",response_class=HTMLResponse)
16
  def test(request: Request,q:str="ls",body:bool=True):
17
+ with open("./v.tex","w") as k:
18
  k.write(format(q))
19
 
20
  return templates.TemplateResponse("latex.html",