README / app.py
QuantaSparkLabs's picture
Update app.py
d698e13 verified
import gradio as gr
# Configuration
COMMUNITY_NAME = "TinyModels 🤏⚡"
LOGO_PATH = "Com logo.png"
DESCRIPTION = """
### Big intelligence. Tiny Parameters.
**TinyModels** is a collaborative space dedicated to building small, fast, production-ready models
that punch way above their weight. No bloat. No nonsense.
*Just models that work — on your laptop, your phone, or your API.*
"""
# Building the App
with gr.Blocks(css="style.css", theme=gr.themes.Soft()) as app:
with gr.Column(elem_id="card"):
# Display the Logo
gr.Image(
value=LOGO_PATH,
elem_id="logo-img",
show_label=False,
container=False,
interactive=False
)
# Display Title and Description
gr.Markdown(f"## {COMMUNITY_NAME}")
gr.Markdown(DESCRIPTION, elem_classes="desc-text")
# Action Buttons
with gr.Row():
gr.Button("Explore Models", variant="primary", link="https://huggingface.co/TinyModels")
gr.Button("Join Community", variant="secondary", link="https://huggingface.co/join/TinyModels")
if __name__ == "__main__":
app.launch(server_name="0.0.0.0", server_port=7860)