A newer version of the Gradio SDK is available:
6.6.0
metadata
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 and transformers 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_TOKENin your environment.
Local install
pip install -U gradio transformers torch
python app.py