to-be commited on
Commit
bc05740
1 Parent(s): b7221a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -83,12 +83,12 @@ with gr.Blocks(css=css) as demo:
83
  with gr.Row().style():
84
  with gr.Column(scale=1):
85
  inp = gr.Image(label='Upload invoice here:') #.style(height=400)
86
- with gr.Column():
87
- gr.Examples([["example.jpg"], ["example_2.jpg"], ["example_3.jpg"]], inputs=[inp])
88
  with gr.Row().style():
89
- btn = gr.Button("Extract")
90
  with gr.Row().style():
91
- with gr.Column(scale=1):
92
  imgout = gr.Image(label='Uploaded document:',elem_id="inp")
93
  with gr.Column(scale=1):
94
  jsonout = gr.JSON(label='Extracted information:')
 
83
  with gr.Row().style():
84
  with gr.Column(scale=1):
85
  inp = gr.Image(label='Upload invoice here:') #.style(height=400)
86
+ with gr.Column(scale=2):
87
+ gr.Examples([["example.jpg"], ["example_2.jpg"], ["example_3.jpg"]], inputs=[inp],label='Or use one of these examples:')
88
  with gr.Row().style():
89
+ btn = gr.Button("Extract")
90
  with gr.Row().style():
91
+ with gr.Column(scale=2):
92
  imgout = gr.Image(label='Uploaded document:',elem_id="inp")
93
  with gr.Column(scale=1):
94
  jsonout = gr.JSON(label='Extracted information:')