Mountchicken commited on
Commit
fb337dc
·
verified ·
1 Parent(s): 4e90b44

Update pre_build.py

Browse files
Files changed (1) hide show
  1. pre_build.py +1 -0
pre_build.py CHANGED
@@ -47,6 +47,7 @@ def main():
47
  print("Starting pre-build setup for Hugging Face Spaces...")
48
 
49
  # Setup GroundingDINO
 
50
  os.system("pip install -r requirements_hf.txt")
51
 
52
  if not setup_groundingdino():
 
47
  print("Starting pre-build setup for Hugging Face Spaces...")
48
 
49
  # Setup GroundingDINO
50
+ os.system("pip install torch==2.6.0 torchvision==0.21.0 --index-url https://download.pytorch.org/whl/cu124")
51
  os.system("pip install -r requirements_hf.txt")
52
 
53
  if not setup_groundingdino():