Spaces:
Build error
Build error
Commit
·
7583998
1
Parent(s):
0f104a3
Removed duplicated example
Browse files
app.py
CHANGED
@@ -294,7 +294,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
294 |
extract_button.click(fn = ocr_interface,
|
295 |
inputs=[pdf_input, model_input, question_input], outputs=[values_output, total_output, text_output])
|
296 |
|
297 |
-
gr.Examples(['Example1(scanned).pdf', 'Example2.pdf', 'Example3Large.pdf'
|
298 |
cache_examples = True, fn = ocr_interface, outputs = [values_output, total_output, text_output])
|
299 |
|
300 |
demo.launch()
|
|
|
294 |
extract_button.click(fn = ocr_interface,
|
295 |
inputs=[pdf_input, model_input, question_input], outputs=[values_output, total_output, text_output])
|
296 |
|
297 |
+
gr.Examples(['Example1(scanned).pdf', 'Example2.pdf', 'Example3Large.pdf'], inputs = pdf_input,
|
298 |
cache_examples = True, fn = ocr_interface, outputs = [values_output, total_output, text_output])
|
299 |
|
300 |
demo.launch()
|