trissondon
commited on
Commit
•
fbf1632
1
Parent(s):
e4cecdd
Updated app
Browse files
app.py
CHANGED
@@ -95,6 +95,11 @@ def process_image(image):
|
|
95 |
return image
|
96 |
|
97 |
|
|
|
|
|
|
|
|
|
|
|
98 |
title = "Document Layout Detection"
|
99 |
description = "Using Layout_LM_v3 model for invoice information extraction"
|
100 |
|
@@ -109,8 +114,7 @@ iface = gr.Interface(fn=process_image,
|
|
109 |
description=description,
|
110 |
# article=article,
|
111 |
# examples=examples,
|
112 |
-
css=css
|
113 |
-
analytics_enabled = True, enable_queue=True)
|
114 |
|
115 |
iface.launch(inline=False, share=False, debug=False)
|
116 |
|
|
|
95 |
return image
|
96 |
|
97 |
|
98 |
+
def process_image_2(image):
|
99 |
+
pass
|
100 |
+
|
101 |
+
|
102 |
+
|
103 |
title = "Document Layout Detection"
|
104 |
description = "Using Layout_LM_v3 model for invoice information extraction"
|
105 |
|
|
|
114 |
description=description,
|
115 |
# article=article,
|
116 |
# examples=examples,
|
117 |
+
css=css)
|
|
|
118 |
|
119 |
iface.launch(inline=False, share=False, debug=False)
|
120 |
|