Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ def main():
|
|
116 |
demo = gr.Interface(
|
117 |
fn=process,
|
118 |
inputs=[gr.Image(type="filepath", interactive=True),gr.Dropdown(['Regex-1'])],
|
119 |
-
outputs=gr.DataFrame(wrap=True,
|
120 |
title="OCR"
|
121 |
)
|
122 |
demo.launch(debug=True, show_error=True)
|
|
|
116 |
demo = gr.Interface(
|
117 |
fn=process,
|
118 |
inputs=[gr.Image(type="filepath", interactive=True),gr.Dropdown(['Regex-1'])],
|
119 |
+
outputs=gr.DataFrame(wrap=True, datatype = ["str", "markdown", "str"], interactive=True),
|
120 |
title="OCR"
|
121 |
)
|
122 |
demo.launch(debug=True, show_error=True)
|