Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ css = "#inp {height: auto !important; width: 100% !important;}"
|
|
87 |
# css = ".output_image, .input_image {height: 600px !important}"
|
88 |
|
89 |
#css = ".image-preview {height: auto !important;}"
|
90 |
-
|
91 |
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
state = gr.State(value='start_or_clear')
|
@@ -109,7 +109,7 @@ with gr.Blocks(css=css) as demo:
|
|
109 |
btn = gr.Button("↓ Extract ↓")
|
110 |
#with gr.Column(scale=1):
|
111 |
#img3 = gr.Image("snowangel.gif",label=' ',visible=False).style(rounded=True)
|
112 |
-
with gr.Row(
|
113 |
with gr.Column(scale=2):
|
114 |
imgout = gr.Image(label='Uploaded document:',elem_id="inp")
|
115 |
with gr.Column(scale=1):
|
|
|
87 |
# css = ".output_image, .input_image {height: 600px !important}"
|
88 |
|
89 |
#css = ".image-preview {height: auto !important;}"
|
90 |
+
#css='div {margin-left: auto; margin-right: auto; width: 100%;background-image: url("background.gif"); repeat 0 0;}')
|
91 |
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
state = gr.State(value='start_or_clear')
|
|
|
109 |
btn = gr.Button("↓ Extract ↓")
|
110 |
#with gr.Column(scale=1):
|
111 |
#img3 = gr.Image("snowangel.gif",label=' ',visible=False).style(rounded=True)
|
112 |
+
with gr.Row().style():
|
113 |
with gr.Column(scale=2):
|
114 |
imgout = gr.Image(label='Uploaded document:',elem_id="inp")
|
115 |
with gr.Column(scale=1):
|