Fix Logos display. Ensure every logo is displayed
Browse files- app.py +6 -3
- logos/manc.gif +0 -0
app.py
CHANGED
@@ -485,9 +485,12 @@ with demo:
|
|
485 |
|
486 |
# Footer with logos
|
487 |
with gr.Row(elem_id="footer"):
|
488 |
-
|
489 |
-
|
490 |
-
gr.
|
|
|
|
|
|
|
491 |
|
492 |
with gr.Row():
|
493 |
with gr.Accordion("π Citation", open=False):
|
|
|
485 |
|
486 |
# Footer with logos
|
487 |
with gr.Row(elem_id="footer"):
|
488 |
+
num_columns = min(5, len(logo_files))
|
489 |
+
for i in range(0, len(logo_files), num_columns):
|
490 |
+
with gr.Row():
|
491 |
+
for logo in logo_files[i:i + num_columns]:
|
492 |
+
logo_path = os.path.join(logos_dir, logo)
|
493 |
+
gr.Image(logo_path, show_label=False, elem_id="logo-image", width=100, height=100)
|
494 |
|
495 |
with gr.Row():
|
496 |
with gr.Accordion("π Citation", open=False):
|
logos/manc.gif
DELETED
Binary file (15 kB)
|
|