Spaces:
Runtime error
Runtime error
Dmitry Kirsanov commited on
Commit ·
f622b0e
1
Parent(s): 097e81a
fix
Browse files
app.py
CHANGED
|
@@ -5,7 +5,8 @@ import understand
|
|
| 5 |
|
| 6 |
|
| 7 |
def process(filename, model):
|
| 8 |
-
|
|
|
|
| 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,
|