phonghh commited on
Commit
4316a43
·
1 Parent(s): 4a77736

fix: drop [hf] extra from git VCS URL

Browse files

pip 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.

Files changed (1) hide show
  1. 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[hf]
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