Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.20.0
Python Environment
Always use uv to run Python scripts and manage dependencies β never use pip or python directly.
- Run scripts with
uv run python script.pyinstead ofpython script.py - Install packages with
uv add package-nameinstead ofpip install - To run one-off commands:
uv run <command> - The project uses
uvfor virtual environment management; do not create venvs manually withpython -m venv
Common Commands
uv run python script.pyβ run a scriptuv add <package>β add a dependencyuv syncβ install all dependencies from lockfileuv run pytestβ run tests