Spaces:
Sleeping
Sleeping
Download app/components/Footer.py from ucGroupProj/Agentic-Chat-bot: direct link, hf CLI and curl.
- Browser
- Download file 680 Bytes
-
https://huggingface.co/spaces/ucGroupProj/Agentic-Chat-bot/resolve/main/app/components/Footer.py
- Command line
-
hf download hf://spaces/ucGroupProj/Agentic-Chat-bot/app/components/Footer.py
-
curl -L -o Footer.py https://huggingface.co/spaces/ucGroupProj/Agentic-Chat-bot/resolve/main/app/components/Footer.py
680 Bytes
| # /app/components/Footer.py | |
| import gradio as gr | |
| from html import escape | |
| def build_footer(version: str = "0.1.0") -> gr.HTML: | |
| """ | |
| Render a simple footer with version info. | |
| Appears at the bottom of the Gradio Blocks UI. | |
| """ | |
| ver = escape(version or "") | |
| html = f""" | |
| <div style="margin-top:24px;text-align:center; | |
| font-size:12px;color:#6b7280;"> | |
| <hr style="margin:16px 0;border:none;border-top:1px solid #e5e7eb"/> | |
| <div>AgenticCore Chatbot — v{ver}</div> | |
| <div style="margin-top:4px;"> | |
| Built with <span style="color:#ef4444;">♥</span> using Gradio | |
| </div> | |
| </div> | |
| """ | |
| return gr.HTML(value=html) | |