Update app.py
Browse files
app.py
CHANGED
@@ -215,17 +215,17 @@ def main():
|
|
215 |
pass # Spacer
|
216 |
|
217 |
with gr.Column(scale=2):
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
|
230 |
with gr.Column(scale=1):
|
231 |
pass # Spacer
|
|
|
215 |
pass # Spacer
|
216 |
|
217 |
with gr.Column(scale=2):
|
218 |
+
# Option 1: Using gr.Image with interactive=False
|
219 |
+
if os.path.exists(logo_path):
|
220 |
+
gr.Image(value=logo_path, show_label=False, interactive=False, show_download_button=False)
|
221 |
+
else:
|
222 |
+
# Fallback to HTML method
|
223 |
+
gr.HTML("""
|
224 |
+
<div style="text-align:center; color:white; background-color:black; padding:20px;">
|
225 |
+
<div style="color:#FF0000; font-size:24px;">■■■■</div>
|
226 |
+
<div style="font-size:28px; letter-spacing:5px; margin-top:10px;">EQUINIX</div>
|
227 |
+
</div>
|
228 |
+
""")
|
229 |
|
230 |
with gr.Column(scale=1):
|
231 |
pass # Spacer
|