Spaces:
Running
Running
Ali Hmaou
commited on
Commit
·
ea69268
1
Parent(s):
bc6f537
UI: Reduce header image height to approx 40% of original (240px) keeping top part
Browse files- src/mcp_server/server.py +3 -3
src/mcp_server/server.py
CHANGED
|
@@ -285,10 +285,10 @@ with gr.Blocks(title="MCePtion") as demo:
|
|
| 285 |
# En local : lien local via Gradio
|
| 286 |
_header_image_url = "/file=assets/images/header_bg.jpeg"
|
| 287 |
|
| 288 |
-
# Bandeau haut (Image croppée
|
| 289 |
gr.HTML(f"""
|
| 290 |
-
<div style="width: 100%; overflow: hidden; margin-bottom: 20px;">
|
| 291 |
-
<img src="{_header_image_url}" style="width: 100%;
|
| 292 |
</div>
|
| 293 |
""")
|
| 294 |
gr.Markdown("# 🏭 MCEPTION is the MCP of your MCPs")
|
|
|
|
| 285 |
# En local : lien local via Gradio
|
| 286 |
_header_image_url = "/file=assets/images/header_bg.jpeg"
|
| 287 |
|
| 288 |
+
# Bandeau haut (Image croppée pour ne garder que le haut, env. 40% de l'original)
|
| 289 |
gr.HTML(f"""
|
| 290 |
+
<div style="width: 100%; height: 240px; overflow: hidden; margin-bottom: 20px; border-radius: 8px;">
|
| 291 |
+
<img src="{_header_image_url}" style="width: 100%; height: 100%; object-fit: cover; object-position: top;" alt="MCePtion Header">
|
| 292 |
</div>
|
| 293 |
""")
|
| 294 |
gr.Markdown("# 🏭 MCEPTION is the MCP of your MCPs")
|