Dmitry Kirsanov commited on
Commit
94eb51b
·
1 Parent(s): 4cf70e0
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,10 +1,8 @@
1
  import gradio as gr
2
 
3
-
4
  import parse.py
5
 
6
 
7
-
8
  def process(filename, model):
9
  return parse.parse(filename)
10
 
@@ -12,7 +10,7 @@ gradio_app = gr.Interface(
12
  fn=process,
13
  allow_flagging="auto",
14
  inputs=[gr.File(label="Input document (HTML)"), gr.Dropdown(choices=["gpt-3.5-turbo", "gpt-4", "gpt-4-turbo-preview"], value="gpt-3.5-turbo")],
15
- outputs=[gr.Textbox(label="Parsed", lines=8))
16
 
17
  if __name__ == "__main__":
18
  gradio_app.launch()
 
1
  import gradio as gr
2
 
 
3
  import parse.py
4
 
5
 
 
6
  def process(filename, model):
7
  return parse.parse(filename)
8
 
 
10
  fn=process,
11
  allow_flagging="auto",
12
  inputs=[gr.File(label="Input document (HTML)"), gr.Dropdown(choices=["gpt-3.5-turbo", "gpt-4", "gpt-4-turbo-preview"], value="gpt-3.5-turbo")],
13
+ outputs=[gr.Textbox(label="Parsed", lines=8)])
14
 
15
  if __name__ == "__main__":
16
  gradio_app.launch()