ucaslcl commited on
Commit
112e19a
·
verified ·
1 Parent(s): ea67daa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -80,7 +80,7 @@ with gr.Blocks() as demo:
80
 
81
  with gr.Row():
82
  with gr.Column():
83
- image_input = gr.Image(type="filepath", label="upload your image", height=800)
84
  task_dropdown = gr.Dropdown(
85
  choices=[
86
  "plain texts OCR",
@@ -111,7 +111,7 @@ with gr.Blocks() as demo:
111
  submit_button = gr.Button("Submit")
112
 
113
  with gr.Column():
114
- ocr_result = gr.Textbox(label="GOT output", height=800)
115
 
116
  with gr.Column():
117
  html_show = gr.HTML(f'<a href="/home/user/app/demo.html" target="_blank">Open Demo HTML</a>')
 
80
 
81
  with gr.Row():
82
  with gr.Column():
83
+ image_input = gr.Image(type="filepath", label="upload your image")
84
  task_dropdown = gr.Dropdown(
85
  choices=[
86
  "plain texts OCR",
 
111
  submit_button = gr.Button("Submit")
112
 
113
  with gr.Column():
114
+ ocr_result = gr.Textbox(label="GOT output")
115
 
116
  with gr.Column():
117
  html_show = gr.HTML(f'<a href="/home/user/app/demo.html" target="_blank">Open Demo HTML</a>')