ranggafermata commited on
Commit
06323aa
·
verified ·
1 Parent(s): 64fd9b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -202,15 +202,15 @@ def generate_image(model_name: str, text: str, image: Image.Image,
202
 
203
  # Define examples for image inference
204
  image_examples = [
205
- ["Extract the full page.", "images/3.jpg"],
206
  ["Extract the content.", "images/4.png"],
207
- ["Convert this page to doc [table] precisely for markdown.", "images/0.jpg"]
208
  ]
209
 
210
 
211
  # Create the Gradio Interface
212
  with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
213
- gr.Markdown("# **Angel's Eye - OCR**", elem_id="main-title")
214
  with gr.Row():
215
  with gr.Column(scale=2):
216
  image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
 
202
 
203
  # Define examples for image inference
204
  image_examples = [
205
+ ["Extract the full page.", "images/3.png"],
206
  ["Extract the content.", "images/4.png"],
207
+ ["Convert this page to doc [table] precisely for markdown.", "images/0.png"]
208
  ]
209
 
210
 
211
  # Create the Gradio Interface
212
  with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
213
+ gr.Markdown("# **Optical Character Recognition (OCR)**", elem_id="main-title")
214
  with gr.Row():
215
  with gr.Column(scale=2):
216
  image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")