Spaces:
Build error
Build error
Commit
·
f35ff1f
1
Parent(s):
dd8499b
Update app.py
Browse files
app.py
CHANGED
@@ -263,5 +263,5 @@ pdf_input = gr.inputs.File(label="PDF File")
|
|
263 |
values_output = gr.outputs.Textbox(label="Mq. Values")
|
264 |
total_output = gr.outputs.Textbox(label="Total")
|
265 |
text_output = gr.outputs.Textbox(label="Ref. Text")
|
266 |
-
iface = gr.Interface(fn=ocr_interface, inputs=pdf_input, title="PDF MQ EXTRACTOR", examples=["Example1.pdf", "Example2.pdf"] outputs=[values_output, total_output, text_output], preprocess=format_output)
|
267 |
iface.launch()
|
|
|
263 |
values_output = gr.outputs.Textbox(label="Mq. Values")
|
264 |
total_output = gr.outputs.Textbox(label="Total")
|
265 |
text_output = gr.outputs.Textbox(label="Ref. Text")
|
266 |
+
iface = gr.Interface(fn=ocr_interface, inputs=pdf_input, title="PDF MQ EXTRACTOR", examples=["Example1.pdf", "Example2.pdf"], outputs=[values_output, total_output, text_output], preprocess=format_output)
|
267 |
iface.launch()
|