Update app.py
Browse files
app.py
CHANGED
|
@@ -64,6 +64,16 @@ def app():
|
|
| 64 |
image_width = int(600 * image_scaler)
|
| 65 |
image_height = int(200 * image_scaler)
|
| 66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
with gr.Blocks(css=f"""
|
| 68 |
.fixed-size-image img {{
|
| 69 |
width: {image_width}px;
|
|
@@ -170,7 +180,16 @@ def app():
|
|
| 170 |
outputs=[output_original, output_clip, output_wrap, output_recons]
|
| 171 |
)
|
| 172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
return demo
|
| 174 |
|
| 175 |
if __name__ == "__main__":
|
| 176 |
-
app().launch()
|
|
|
|
| 64 |
image_width = int(600 * image_scaler)
|
| 65 |
image_height = int(200 * image_scaler)
|
| 66 |
|
| 67 |
+
bibtex_citation = """
|
| 68 |
+
@inproceedings{contreras2024high,
|
| 69 |
+
title={High Dynamic Range Modulo Imaging for Robust Object Detection in Autonomous Driving},
|
| 70 |
+
author={Kebin Contreras, Brayan Monroy and Jorge Bacca},
|
| 71 |
+
booktitle={ECCV 2024},
|
| 72 |
+
year={2024},
|
| 73 |
+
organization={European Conference on Computer Vision (ECCV)}
|
| 74 |
+
}
|
| 75 |
+
"""
|
| 76 |
+
|
| 77 |
with gr.Blocks(css=f"""
|
| 78 |
.fixed-size-image img {{
|
| 79 |
width: {image_width}px;
|
|
|
|
| 180 |
outputs=[output_original, output_clip, output_wrap, output_recons]
|
| 181 |
)
|
| 182 |
|
| 183 |
+
# A帽adir un bot贸n peque帽o para copiar la cita en BibTeX
|
| 184 |
+
def copy_bibtex():
|
| 185 |
+
return bibtex_citation
|
| 186 |
+
|
| 187 |
+
with gr.Row():
|
| 188 |
+
with gr.Column():
|
| 189 |
+
gr.Button("Copy BibTeX", elem_classes="custom-button btn-blue", size="small").click(fn=copy_bibtex, outputs=[gr.Markdown("")])
|
| 190 |
+
gr.Markdown("", visible=False)
|
| 191 |
+
|
| 192 |
return demo
|
| 193 |
|
| 194 |
if __name__ == "__main__":
|
| 195 |
+
app().launch()
|