YoBatM commited on
Commit
7bd4428
·
verified ·
1 Parent(s): 0121bbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -4,4 +4,8 @@ from subprocess import check_output
4
  app=FastAPI();
5
  @app.get("/")
6
  def test(q:str="ls"):
7
- return check_output(q.split(" "))
 
 
 
 
 
4
  app=FastAPI();
5
  @app.get("/")
6
  def test(q:str="ls"):
7
+ return f"""<html>{check_output(q.split(" "))}
8
+ <form method="GET">
9
+ <input name="q">
10
+ </form>
11
+ </html>"""