Download components/header.py from codeboosterstech/pydeploy-studio: direct link, hf CLI and curl.
- Browser
- Download file 763 Bytes
-
https://huggingface.co/spaces/codeboosterstech/pydeploy-studio/resolve/4c89ecb372ed5ee9eccb249c874afd61660945db/components/header.py
- Command line
-
hf download hf://spaces/codeboosterstech/pydeploy-studio@4c89ecb372ed5ee9eccb249c874afd61660945db/components/header.py
-
curl -L -o header.py https://huggingface.co/spaces/codeboosterstech/pydeploy-studio/resolve/4c89ecb372ed5ee9eccb249c874afd61660945db/components/header.py
763 Bytes
| """ | |
| Simplified header component | |
| """ | |
| import gradio as gr | |
| def create_header(): | |
| """Create a simple, professional header""" | |
| header_html = """ | |
| <div class="header-container"> | |
| <div class="header-content"> | |
| <div class="logo-section"> | |
| <svg class="logo-icon" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> | |
| <path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/> | |
| </svg> | |
| <div class="logo-text"> | |
| <h1>Space Creator</h1> | |
| <p class="tagline">Convert Python code to deployable Gradio apps</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| """ | |
| gr.HTML(header_html) |