fahimehorvatinia commited on
Commit
2592b1e
·
verified ·
1 Parent(s): 5501139
Files changed (1) hide show
  1. app.py +10 -6
app.py CHANGED
@@ -107,12 +107,16 @@ def process(file_path, preset_choice):
107
 
108
  with gr.Blocks(fill_width=True) as demo:
109
  # Header logo (no share/download/fullscreen buttons), full width
110
- gr.HTML(f"""
111
- <div style="display: flex; justify-content: center; align-items: center; width: 100%;">
112
- <img src="file/{LOGO_PATH}" style="width: 100%; max-width: 1200px; object-fit: contain;" alt="Logo">
113
- </div>
114
- """)
115
-
 
 
 
 
116
  gr.Markdown("# 🌿 Automated Plant Analysis Demo")
117
  gr.Markdown("Upload a plant image (TIFF preferred) to compute and visualize composite, mask, overlay, texture, vegetation indices, and statistics.")
118
 
 
107
 
108
  with gr.Blocks(fill_width=True) as demo:
109
  # Header logo (no share/download/fullscreen buttons), full width
110
+ gr.Image(
111
+ value=LOGO_PATH,
112
+ show_label=False,
113
+ interactive=False,
114
+ height=80,
115
+ container=False,
116
+ show_download_button=False,
117
+ show_share_button=False,
118
+ show_fullscreen_button=False,
119
+ )
120
  gr.Markdown("# 🌿 Automated Plant Analysis Demo")
121
  gr.Markdown("Upload a plant image (TIFF preferred) to compute and visualize composite, mask, overlay, texture, vegetation indices, and statistics.")
122