davanstrien HF Staff commited on
Commit
193c090
·
1 Parent(s): 8c64caf
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -365,7 +365,7 @@ with gr.Blocks() as demo:
365
  choices=AVAILABLE_MODELS,
366
  value="RolmOCR",
367
  label="Select OCR Model",
368
- info="RolmOCR: Fast extraction, clean readable output | Nanonets-OCR-s: Detailed extraction with tables/math support, outputs structured Markdown",
369
  )
370
  image_input = gr.File(
371
  label="Upload Image (PNG, JPG, etc.)", type="filepath"
@@ -388,9 +388,8 @@ with gr.Blocks() as demo:
388
  ocr_download_btn = gr.DownloadButton(
389
  label="Download VLM OCR", visible=False
390
  )
391
- xml_output_textbox = gr.Textbox(
392
  label="Traditional OCR (XML Reading Order)",
393
- lines=15,
394
  interactive=False,
395
  show_copy_button=True,
396
  )
 
365
  choices=AVAILABLE_MODELS,
366
  value="RolmOCR",
367
  label="Select OCR Model",
368
+ # info="RolmOCR: Fast extraction, clean readable output | Nanonets-OCR-s: Detailed extraction with tables/math support, outputs structured Markdown",
369
  )
370
  image_input = gr.File(
371
  label="Upload Image (PNG, JPG, etc.)", type="filepath"
 
388
  ocr_download_btn = gr.DownloadButton(
389
  label="Download VLM OCR", visible=False
390
  )
391
+ xml_output_textbox = gr.Markdown(
392
  label="Traditional OCR (XML Reading Order)",
 
393
  interactive=False,
394
  show_copy_button=True,
395
  )