Spaces:
Running on Zero
Running on Zero
fix: drop [hf] extra from git VCS URL
Browse filespip errors when a VCS git requirement has both #subdirectory and [extras]:
it treats deploy[hf] as a literal path and finds no pyproject.toml.
huggingface-hub is already a direct dependency, so hub support is
unaffected by dropping the empty [hf] extra.
Verified: clean venv pip-install of
git+...#subdirectory=deploy (no extras) + space pins imports
danbooru_deploy and runs CPU-only.
- requirements.txt +1 -1
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
onnxruntime==1.18.0
|
| 2 |
-
git+https://github.com/realphongha/DanbooruTagQuery.git#subdirectory=deploy
|
| 3 |
gradio>=5
|
| 4 |
numpy==1.26.4
|
| 5 |
pillow
|
|
|
|
| 1 |
onnxruntime==1.18.0
|
| 2 |
+
git+https://github.com/realphongha/DanbooruTagQuery.git#subdirectory=deploy
|
| 3 |
gradio>=5
|
| 4 |
numpy==1.26.4
|
| 5 |
pillow
|