Spaces:
Runtime error
Runtime error
|
Download README.md from broccoli0510/CodeTutor: direct link, hf CLI and curl.
- Browser
- Download file 781 Bytes
-
https://huggingface.co/spaces/broccoli0510/CodeTutor/resolve/main/README.md
- Command line
-
hf download hf://spaces/broccoli0510/CodeTutor/README.md
-
curl -L -o README.md https://huggingface.co/spaces/broccoli0510/CodeTutor/resolve/main/README.md
781 Bytes
A newer version of the Gradio SDK is available: 6.32.0
metadata
title: CodeTutor
emoji: 💻
colorFrom: pink
colorTo: purple
sdk: gradio
sdk_version: 6.31.0
python_version: '3.12'
app_file: app.py
pinned: false
license: mit
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
CodeTutor
A Gradio chat app that helps you learn programming: explain concepts, debug, review or write code, or get Socratic hints.
Setup
- In the Space Settings → Variables and secrets, add a secret
HF_TOKEN(a Hugging Face access token with "Make calls to Inference Providers" permission). - Optional: add a variable
MODEL_IDto change the default model (default:Qwen/Qwen2.5-Coder-32B-Instruct).
Run locally
pip install -r requirements.txt
HF_TOKEN=hf_xxx python app.py