Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -7,7 +7,8 @@ import random
|
|
7 |
#
|
8 |
# BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
9 |
# sys.path.append(BASE_DIR)
|
10 |
-
os.system("CUDA_HOME=/usr/local/cuda python -m pip
|
|
|
11 |
|
12 |
import numpy as np
|
13 |
import torch
|
|
|
7 |
#
|
8 |
# BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
9 |
# sys.path.append(BASE_DIR)
|
10 |
+
# os.system("CUDA_HOME=/usr/local/cuda python -m pip uninstall groundingdino")
|
11 |
+
os.system("git clone https://github.com/IDEA-Research/GroundingDINO.git && cd GroundingDINO && CUDA_HOME=/usr/local/cuda pip install -e .")
|
12 |
|
13 |
import numpy as np
|
14 |
import torch
|