prithivMLmods commited on
Commit
05da55f
·
verified ·
1 Parent(s): 8132b62

upload app

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -268,11 +268,11 @@ def generate_image(model_name: str, text: str, image: Image.Image,
268
 
269
  # Define examples for image inference
270
  image_examples = [
271
- ["Reconstruct the doc [table] as it is.", "images/0.png"],
272
- ["Describe the image!", "images/8.png"],
273
- ["OCR the image", "images/2.jpg"],
274
- ["Convert this page to docling", "images/1.png"],
275
- ["Convert this page to docling", "images/3.png"],
276
  ]
277
 
278
  with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
 
268
 
269
  # Define examples for image inference
270
  image_examples = [
271
+ ["Perform OCR on the image precisely.", "examples/5.jpg"],
272
+ ["Run OCR on the image and ensure high accuracy.", "examples/8.jpg"],
273
+ ["Conduct OCR on the image with exact text recognition.", "examples/2.jpg"],
274
+ ["Perform precise OCR extraction on the image.", "examples/1.jpg"],
275
+ ["Convert this page to docling", "examples/3.jpg"],
276
  ]
277
 
278
  with gr.Blocks(css=css, theme=steel_blue_theme) as demo: