nikigoli commited on
Commit
9705e1a
1 Parent(s): ad6e6cb

Update models/GroundingDINO/ops/setup.py

Browse files
Files changed (1) hide show
  1. models/GroundingDINO/ops/setup.py +2 -2
models/GroundingDINO/ops/setup.py CHANGED
@@ -22,9 +22,9 @@ from setuptools import setup
22
 
23
  requirements = ["torch", "torchvision"]
24
 
25
- @spaces.GPU
26
  def get_extensions():
27
- this_dir = "/home/app/models/GroundingDINO/ops" #os.path.dirname(os.path.abspath(__file__))
28
  extensions_dir = os.path.join(this_dir, "src")
29
 
30
  main_file = glob.glob(os.path.join(extensions_dir, "*.cpp"))
 
22
 
23
  requirements = ["torch", "torchvision"]
24
 
25
+ #@spaces.GPU
26
  def get_extensions():
27
+ this_dir = os.path.dirname(os.path.abspath(__file__))
28
  extensions_dir = os.path.join(this_dir, "src")
29
 
30
  main_file = glob.glob(os.path.join(extensions_dir, "*.cpp"))