Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,6 @@ css = """
|
|
24 |
# background-color: #202020; /* Set your desired background color */
|
25 |
border-radius: 5px;
|
26 |
}
|
27 |
-
#input1 input[type="file"],#input2 input[type="file"] {
|
28 |
-
display: none !important;
|
29 |
-
}
|
30 |
}
|
31 |
"""
|
32 |
|
@@ -166,9 +163,9 @@ def launch_demo():
|
|
166 |
with gr.Column(scale=6):
|
167 |
with gr.Row():
|
168 |
with gr.Column(scale=3):
|
169 |
-
id_image_input1 = gr.Image(type='filepath', label='Front', elem_classes="example-image"
|
170 |
with gr.Column(scale=3):
|
171 |
-
id_image_input2 = gr.Image(type='filepath', label='Back', elem_classes="example-image"
|
172 |
|
173 |
with gr.Row():
|
174 |
id_examples = gr.Examples(
|
|
|
24 |
# background-color: #202020; /* Set your desired background color */
|
25 |
border-radius: 5px;
|
26 |
}
|
|
|
|
|
|
|
27 |
}
|
28 |
"""
|
29 |
|
|
|
163 |
with gr.Column(scale=6):
|
164 |
with gr.Row():
|
165 |
with gr.Column(scale=3):
|
166 |
+
id_image_input1 = gr.Image(type='filepath', label='Front', elem_classes="example-image")
|
167 |
with gr.Column(scale=3):
|
168 |
+
id_image_input2 = gr.Image(type='filepath', label='Back', elem_classes="example-image")
|
169 |
|
170 |
with gr.Row():
|
171 |
id_examples = gr.Examples(
|