import gradio as gr
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.*
"""
BUTTON_STYLE = """
"""
def create_buttons():
return gr.HTML(
f"""
{BUTTON_STYLE}
Explore Models
Join Community
"""
)
with gr.Blocks(css="style.css", theme=gr.themes.Soft()) as app:
with gr.Column(elem_id="card"):
gr.Image(
value=LOGO_PATH,
elem_id="logo-img",
show_label=False,
container=False,
interactive=False
)
gr.Markdown(f"## {COMMUNITY_NAME}")
gr.Markdown(DESCRIPTION, elem_classes="desc-text")
create_buttons()
app.launch(server_name="0.0.0.0", server_port=7860)