Fahimeh Orvati Nia
commited on
Commit
·
02ce968
1
Parent(s):
484130e
update the ability of the logo and make it wider
Browse files
app.py
CHANGED
|
@@ -105,9 +105,11 @@ def process(file_path, preset_choice):
|
|
| 105 |
)
|
| 106 |
|
| 107 |
|
| 108 |
-
with gr.Blocks() as demo:
|
| 109 |
-
# Header logo
|
| 110 |
-
gr.
|
|
|
|
|
|
|
| 111 |
gr.Markdown("# 🌿 Automated Plant Analysis Demo")
|
| 112 |
gr.Markdown("Upload a plant image (TIFF preferred) to compute and visualize composite, mask, overlay, texture, vegetation indices, and statistics.")
|
| 113 |
|
|
|
|
| 105 |
)
|
| 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 |
|