Solo448 commited on
Commit
9c1b396
·
verified ·
1 Parent(s): 696838f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -202,7 +202,7 @@ with gr.Blocks() as demo:
202
  "format fine-grained OCR",
203
  "English + Hindi(Qwen2-VL)"
204
  ],
205
- label="Choose one mode of GOT",
206
  value="plain texts OCR"
207
  )
208
  fine_grained_dropdown = gr.Dropdown(
@@ -223,7 +223,7 @@ with gr.Blocks() as demo:
223
  submit_button = gr.Button("Submit")
224
 
225
  with gr.Column():
226
- ocr_result = gr.Textbox(label="GOT output")
227
  # Create the Gradio interface
228
  iface = gr.Interface(
229
  fn=search_in_text,
 
202
  "format fine-grained OCR",
203
  "English + Hindi(Qwen2-VL)"
204
  ],
205
+ label="Choose one mode",
206
  value="plain texts OCR"
207
  )
208
  fine_grained_dropdown = gr.Dropdown(
 
223
  submit_button = gr.Button("Submit")
224
 
225
  with gr.Column():
226
+ ocr_result = gr.Textbox(label="Extracted text")
227
  # Create the Gradio interface
228
  iface = gr.Interface(
229
  fn=search_in_text,