Update app.py
Browse files
app.py
CHANGED
|
@@ -106,6 +106,9 @@ def app():
|
|
| 106 |
.btn-red {{
|
| 107 |
background-color: #e94e42;
|
| 108 |
}}
|
|
|
|
|
|
|
|
|
|
| 109 |
.gr-examples img {{
|
| 110 |
width: 200px; /* Ajusta este valor al doble del tamaño original */
|
| 111 |
height: 200px; /* Ajusta este valor al doble del tamaño original */
|
|
@@ -117,10 +120,12 @@ def app():
|
|
| 117 |
with gr.Column():
|
| 118 |
gr.Markdown("### High Dynamic Range Modulo Imaging for Robust Object Detection in Autonomous Driving", elem_id="centered-text")
|
| 119 |
gr.HTML('<a href="https://openreview.net/pdf?id=2GqZFx2I7s" target="_blank" class="custom-button btn-grey">Article</a>')
|
|
|
|
| 120 |
|
| 121 |
with gr.Column():
|
| 122 |
gr.Markdown("### Autoregressive High-Order Finite Difference Modulo Imaging: High-Dynamic Range for Computer Vision Applications", elem_id="centered-text")
|
| 123 |
gr.HTML('<a href="https://cvlai.net/aim/2024/" target="_blank" class="custom-button btn-red">Article</a>')
|
|
|
|
| 124 |
|
| 125 |
image = gr.Image(type="pil", label="Upload Image", interactive=True)
|
| 126 |
|
|
@@ -135,7 +140,7 @@ def app():
|
|
| 135 |
|
| 136 |
process_button = gr.Button("Process Image")
|
| 137 |
|
| 138 |
-
|
| 139 |
examples = [
|
| 140 |
["imagen1.png"],
|
| 141 |
["imagen2.png"],
|
|
@@ -166,10 +171,15 @@ def app():
|
|
| 166 |
outputs=[output_original, output_clip, output_wrap, output_recons]
|
| 167 |
)
|
| 168 |
|
| 169 |
-
|
| 170 |
-
|
| 171 |
return demo
|
| 172 |
|
| 173 |
if __name__ == "__main__":
|
| 174 |
app().launch()
|
| 175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
.btn-red {{
|
| 107 |
background-color: #e94e42;
|
| 108 |
}}
|
| 109 |
+
.btn-blue {{
|
| 110 |
+
background-color: #007bff;
|
| 111 |
+
}}
|
| 112 |
.gr-examples img {{
|
| 113 |
width: 200px; /* Ajusta este valor al doble del tamaño original */
|
| 114 |
height: 200px; /* Ajusta este valor al doble del tamaño original */
|
|
|
|
| 120 |
with gr.Column():
|
| 121 |
gr.Markdown("### High Dynamic Range Modulo Imaging for Robust Object Detection in Autonomous Driving", elem_id="centered-text")
|
| 122 |
gr.HTML('<a href="https://openreview.net/pdf?id=2GqZFx2I7s" target="_blank" class="custom-button btn-grey">Article</a>')
|
| 123 |
+
gr.HTML('<a href="https://github.com/kebincontreras/Modulo_images.git" target="_blank" class="custom-button btn-blue">GitHub</a>')
|
| 124 |
|
| 125 |
with gr.Column():
|
| 126 |
gr.Markdown("### Autoregressive High-Order Finite Difference Modulo Imaging: High-Dynamic Range for Computer Vision Applications", elem_id="centered-text")
|
| 127 |
gr.HTML('<a href="https://cvlai.net/aim/2024/" target="_blank" class="custom-button btn-red">Article</a>')
|
| 128 |
+
gr.HTML('<a href="https://github.com/bemc22/AHFD" target="_blank" class="custom-button btn-blue">GitHub</a>')
|
| 129 |
|
| 130 |
image = gr.Image(type="pil", label="Upload Image", interactive=True)
|
| 131 |
|
|
|
|
| 140 |
|
| 141 |
process_button = gr.Button("Process Image")
|
| 142 |
|
| 143 |
+
# Agregar las imágenes de ejemplo al final con tamaño más grande
|
| 144 |
examples = [
|
| 145 |
["imagen1.png"],
|
| 146 |
["imagen2.png"],
|
|
|
|
| 171 |
outputs=[output_original, output_clip, output_wrap, output_recons]
|
| 172 |
)
|
| 173 |
|
|
|
|
|
|
|
| 174 |
return demo
|
| 175 |
|
| 176 |
if __name__ == "__main__":
|
| 177 |
app().launch()
|
| 178 |
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
|
| 182 |
+
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
|