nikigoli commited on
Commit
ad6e6cb
1 Parent(s): 33ec58a

Update models/GroundingDINO/ops/setup.py

Browse files
Files changed (1) hide show
  1. models/GroundingDINO/ops/setup.py +1 -1
models/GroundingDINO/ops/setup.py CHANGED
@@ -24,7 +24,7 @@ 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"))
 
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"))