SAVAI123 commited on
Commit
2dfe51a
·
verified ·
1 Parent(s): 7b51a84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -215,17 +215,17 @@ def main():
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
 
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