welcome / app.py
3morixd's picture
Upload app.py with huggingface_hub
e8c9ad6 verified
Raw
History Blame Contribute Delete
1.03 kB
import gradio as gr
with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue"), title="dispatchAI") as demo:
gr.Markdown("""
# πŸš€ Welcome to dispatchAI
**Small. Mobile. Free. UAE-built.**
31 verified working models. Zero broken. Zero partial.
## Quick Start
```bash
pip install dispatchai
```
```python
from dispatchai import load_model
model = load_model("SmolLM2-135M-Instruct-mobile", backend="gguf")
print(model.chat("What is the capital of France?"))
# β†’ "The capital of France is Paris."
```
## Links
- [All Models](https://huggingface.co/dispatchAI)
- [SDK](https://huggingface.co/dispatchAI/dispatchAI-SDK)
- [Hub](https://huggingface.co/spaces/dispatchAI/hub)
- [MCP Tools](https://huggingface.co/spaces/dispatchAI/mcp-hub)
- [Leaderboard](https://huggingface.co/spaces/dispatchAI/mobile-llm-leaderboard)
---
Dispatch AI (FZE) β€” Sharjah, UAE. License No. 10818.
""")
demo.launch()