Commit
·
1fb28c8
1
Parent(s):
3901114
return dict
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def process_document(image):
|
|
46 |
for value in json_flatten:
|
47 |
out += value + "\n"
|
48 |
|
49 |
-
return out
|
50 |
|
51 |
demo = gradio.Interface(
|
52 |
fn=process_document,
|
|
|
46 |
for value in json_flatten:
|
47 |
out += value + "\n"
|
48 |
|
49 |
+
return {'output': out}
|
50 |
|
51 |
demo = gradio.Interface(
|
52 |
fn=process_document,
|