Spaces:
Sleeping
Sleeping
Update models/GroundingDINO/ops/setup.py
Browse files
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"))
|