chat / README.md
alibayram's picture
Refactor chatbot implementation to use local model with transformers. Updated README to reflect new dependencies and usage instructions. Removed Hugging Face Inference API integration.
a42856d
---
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
```