Fahimeh Orvati Nia commited on
Commit
e88ed7d
·
1 Parent(s): 02ce968

edit header

Browse files
Files changed (1) hide show
  1. app.py +11 -4
app.py CHANGED
@@ -106,10 +106,17 @@ def process(file_path, preset_choice):
106
 
107
 
108
  with gr.Blocks(fill_width=True) as demo:
109
- # Header logo without share/download controls; match container width
110
- gr.Markdown(f"""
111
- <img src="file={LOGO_PATH}" alt="App Header" style="width: 100%; height: auto; display: block;" />
112
- """)
 
 
 
 
 
 
 
113
  gr.Markdown("# 🌿 Automated Plant Analysis Demo")
114
  gr.Markdown("Upload a plant image (TIFF preferred) to compute and visualize composite, mask, overlay, texture, vegetation indices, and statistics.")
115
 
 
106
 
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