sxandie commited on
Commit
e43f981
1 Parent(s): 1f3af9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -843,7 +843,7 @@ def completepreprocess(pdffile,ocr_type):
843
 
844
 
845
  title = "Interactive demo: Document Information Extraction model PDF/Images"
846
- description = "Results will show up in a few seconds. The annotated image can be opened in a new window for a better view."
847
 
848
  css = """.output_image, .input_image {height: 600px !important}"""
849
  examples = [["sample_doc.pdf"]]
@@ -857,8 +857,8 @@ iface = gr.Interface(
857
  outputs=[
858
  gr.components.Image(type="pil", label="annotated image"),
859
  "dataframe",
860
- "dataframe",
861
- gr.File(label="Excel output")
862
  ],
863
  title=title,
864
  description=description,
 
843
 
844
 
845
  title = "Interactive demo: Document Information Extraction model PDF/Images"
846
+ description = "Upload your own document, or use the one given below at the left corner. Results will show up in a few seconds. The annotated image can be opened in a new window for a better view."
847
 
848
  css = """.output_image, .input_image {height: 600px !important}"""
849
  examples = [["sample_doc.pdf"]]
 
857
  outputs=[
858
  gr.components.Image(type="pil", label="annotated image"),
859
  "dataframe",
860
+ "dataframe"
861
+ #gr.File(label="Excel output")
862
  ],
863
  title=title,
864
  description=description,