MrFeelgoood commited on
Commit
dd8499b
·
1 Parent(s): 7e96269

Added examples

Browse files

Added some examples to try out in the demo

Files changed (1) hide show
  1. app.py +1 -1
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", 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()