Spaces:
Runtime error
Runtime error
| 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() | |