freebg commited on
Commit
1a006f4
·
verified ·
1 Parent(s): 9019364

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +4 -5
requirements.txt CHANGED
@@ -1,10 +1,9 @@
1
- # ⚠️ DO NOT pin gradio — HF injects its own version (currently 6.x)
2
- # torch CPU build works on free HF space (no GPU needed)
3
- torch==2.2.2+cpu
4
- torchvision==0.17.2+cpu
5
  --extra-index-url https://download.pytorch.org/whl/cpu
6
 
7
- # Core dependencies
8
  transformers>=4.45.0
9
  diffusers>=0.30.0
10
  accelerate>=0.33.0
 
1
+ # ⚠️ DO NOT pin gradio — HF injects gradio==6.15.2 automatically
2
+ # Python 3.13 compatible torch CPU build
3
+ torch==2.7.0+cpu
4
+ torchvision==0.22.0+cpu
5
  --extra-index-url https://download.pytorch.org/whl/cpu
6
 
 
7
  transformers>=4.45.0
8
  diffusers>=0.30.0
9
  accelerate>=0.33.0