Update app.py
Browse files
app.py
CHANGED
@@ -86,13 +86,13 @@ with gr.Blocks(css=css) as demo:
|
|
86 |
inp = gr.Image(label='Upload invoice here:') #.style(height=400)
|
87 |
with gr.Column(scale=2):
|
88 |
gr.Examples([["example.jpg"], ["example_2.jpg"], ["example_3.jpg"]], inputs=[inp],label='Or use one of these examples:')
|
89 |
-
with gr.Row().style():
|
90 |
with gr.Column(scale=1):
|
91 |
-
img2 = gr.Image("drinking.gif",label=' ')
|
92 |
with gr.Column(scale=2):
|
93 |
-
btn = gr.Button("↓ Extract ↓")
|
94 |
with gr.Column(scale=1):
|
95 |
-
img3 = gr.Image("snowangel.gif",label=' ')
|
96 |
with gr.Row(css='div {margin-left: auto; margin-right: auto; width: 100%;background-image: url("background.gif"); repeat 0 0;}').style():
|
97 |
with gr.Column(scale=2):
|
98 |
imgout = gr.Image(label='Uploaded document:',elem_id="inp")
|
|
|
86 |
inp = gr.Image(label='Upload invoice here:') #.style(height=400)
|
87 |
with gr.Column(scale=2):
|
88 |
gr.Examples([["example.jpg"], ["example_2.jpg"], ["example_3.jpg"]], inputs=[inp],label='Or use one of these examples:')
|
89 |
+
with gr.Row().style(equal_height=True):
|
90 |
with gr.Column(scale=1):
|
91 |
+
img2 = gr.Image("drinking.gif",label=' ')
|
92 |
with gr.Column(scale=2):
|
93 |
+
btn = gr.Button("↓ Extract ↓")
|
94 |
with gr.Column(scale=1):
|
95 |
+
img3 = gr.Image("snowangel.gif",label=' ')
|
96 |
with gr.Row(css='div {margin-left: auto; margin-right: auto; width: 100%;background-image: url("background.gif"); repeat 0 0;}').style():
|
97 |
with gr.Column(scale=2):
|
98 |
imgout = gr.Image(label='Uploaded document:',elem_id="inp")
|