File size: 675 Bytes
e716094 d68b785 e716094 a42856d e716094 a42856d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ---
title: Chat
emoji: 💬
colorFrom: yellow
colorTo: purple
sdk: gradio
sdk_version: 5.42.0
app_file: app.py
pinned: false
hf_oauth: true
hf_oauth_scopes:
- read-repos
---
An example chatbot using [Gradio](https://gradio.app) and [`transformers`](https://huggingface.co/docs/transformers/index) to run a model locally (downloaded from the Hugging Face Hub).
### Notes
- **Model**: `alibayram/gemma3-tr-v64k-it`
- **Auth (optional)**: If the model is gated/private, sign in via the app’s Hugging Face login button or set `HF_TOKEN` / `HUGGINGFACEHUB_API_TOKEN` in your environment.
### Local install
```bash
pip install -U gradio transformers torch
python app.py
```
|