prithivMLmods commited on
Commit
1249056
·
verified ·
1 Parent(s): 563fbb3

update app

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -221,10 +221,10 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
221
  submit_btn = gr.Button("Process Image", variant="primary")
222
 
223
  with gr.Column(scale=2):
224
- output_text = gr.Textbox(label="Output(OCR)", lines=11, show_copy_button=True)
225
- output_image = gr.Image(label="Layout Detection(If Any)", type="pil")
226
 
227
- with gr.Accordion("Note🔥", open=False):
228
  gr.Markdown("[ This app is running with transformers v.4.57.1 and torch v.2.6.0. ]")
229
 
230
  def toggle_ref_text_visibility(task):
 
221
  submit_btn = gr.Button("Process Image", variant="primary")
222
 
223
  with gr.Column(scale=2):
224
+ output_text = gr.Textbox(label="Output (OCR)", lines=9, show_copy_button=True)
225
+ output_image = gr.Image(label="Layout Detection (If Any)", type="pil")
226
 
227
+ with gr.Accordion("Note", open=False):
228
  gr.Markdown("[ This app is running with transformers v.4.57.1 and torch v.2.6.0. ]")
229
 
230
  def toggle_ref_text_visibility(task):