YoBatM commited on
Commit
e19a40f
·
verified ·
1 Parent(s): 645eb49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -6,11 +6,7 @@ app=FastAPI();
6
  templates = Jinja2Templates(directory="templates")
7
  @app.get("/")
8
  def test(q:str="ls"):
9
- rreturn templates.TemplateResponse("some-file.html",
10
  {
11
-
12
- // pass your variables to HTML template here
13
- "my_variable": my_variable
14
- }
15
- )
16
- return Jinja2Templates(check_output(q.split(" "))
 
6
  templates = Jinja2Templates(directory="templates")
7
  @app.get("/")
8
  def test(q:str="ls"):
9
+ return templates.TemplateResponse("latex.html",
10
  {
11
+ "result":check_output(q.split(" "))
12
+ })