| title: MiniCPM5-1B | |
| emoji: 🧠 | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: "6.20.0" | |
| python_version: "3.12" | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| short_description: MiniCPM5-1B inference with ZeroGPU free GPU | |
| # MiniCPM5-1B Chat | |
| MiniCPM5-1B inference service on Hugging Face Spaces using ZeroGPU (free GPU). | |
| ## Usage | |
| ### Web UI | |
| Visit `https://arooxy-qwe.hf.space/` to chat. | |
| ### API (Gradio native) | |
| Gradio auto-generates API endpoints for the chat function: | |
| ```python | |
| import gradio as gr | |
| client = gr.Client("Arooxy/qwe") | |
| result = client.predict( | |
| message="Hello!", | |
| history=[], | |
| api_name="/chat" | |
| ) | |
| print(result) | |
| ``` | |
| ### Environment Variables (Space Secrets) | |
| | Variable | Default | Description | | |
| |----------|---------|-------------| | |
| | `MODEL_ID` | `GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-V2-Thinking` | Model to load | | |