Pin Gradio and ignore local runtime files
Browse filesLock Gradio to the 6.29 release in both dependency manifests to keep installs consistent across environments, including Hugging Face Spaces. Also expand `.gitignore` for local virtualenv, tool caches, Gradio runtime data, downloaded prediction artifacts, and first-run DLC model downloads so generated files do not get committed.
- .gitignore +12 -0
- pyproject.toml +1 -1
- requirements.txt +1 -1
.gitignore
CHANGED
|
@@ -2,3 +2,15 @@
|
|
| 2 |
__pycache__/
|
| 3 |
model/__pycache__/
|
| 4 |
.vscode/settings.json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
__pycache__/
|
| 3 |
model/__pycache__/
|
| 4 |
.vscode/settings.json
|
| 5 |
+
|
| 6 |
+
# Local environment and tool caches
|
| 7 |
+
.venv/
|
| 8 |
+
.ruff_cache/
|
| 9 |
+
|
| 10 |
+
# Written by the app at runtime
|
| 11 |
+
.gradio/
|
| 12 |
+
download_predictions.json
|
| 13 |
+
dowload_predictions_dlc.json
|
| 14 |
+
download_annotated.png
|
| 15 |
+
# TF (legacy) models downloaded on first use; DLC_models/readme.md stays tracked
|
| 16 |
+
DLC_models/*/
|
pyproject.toml
CHANGED
|
@@ -14,7 +14,7 @@ dependencies = [
|
|
| 14 |
"deeplabcut-live",
|
| 15 |
"dlclibrary",
|
| 16 |
"gitpython>=3.1.30",
|
| 17 |
-
"gradio",
|
| 18 |
"humanfriendly",
|
| 19 |
"psutil",
|
| 20 |
"ruamel-yaml==0.17.21",
|
|
|
|
| 14 |
"deeplabcut-live",
|
| 15 |
"dlclibrary",
|
| 16 |
"gitpython>=3.1.30",
|
| 17 |
+
"gradio==6.29",
|
| 18 |
"humanfriendly",
|
| 19 |
"psutil",
|
| 20 |
"ruamel-yaml==0.17.21",
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Hugging Face Spaces install from this file; keep in sync with pyproject.toml dependencies.
|
| 2 |
-
gradio
|
| 3 |
gitpython>=3.1.30
|
| 4 |
seaborn
|
| 5 |
deeplabcut[modelzoo,tf]==3.0.2
|
|
|
|
| 1 |
# Hugging Face Spaces install from this file; keep in sync with pyproject.toml dependencies.
|
| 2 |
+
gradio==6.29.0
|
| 3 |
gitpython>=3.1.30
|
| 4 |
seaborn
|
| 5 |
deeplabcut[modelzoo,tf]==3.0.2
|