Dmitry Kirsanov commited on
Commit
f622b0e
·
1 Parent(s): 097e81a
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ import understand
5
 
6
 
7
  def process(filename, model):
8
- return understand.understand(filename)
 
9
 
10
  gradio_app = gr.Interface(
11
  fn=process,
 
5
 
6
 
7
  def process(filename, model):
8
+ doc = understand.Document()
9
+ return doc.understand(filename)
10
 
11
  gradio_app = gr.Interface(
12
  fn=process,