Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ import random
|
|
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
|
|
|
12 |
|
13 |
import numpy as np
|
14 |
import torch
|
|
|
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"
|
12 |
+
"&& export CUDA_HOME=/usr/local/cuda; pip install -e GroundingDINO")
|
13 |
|
14 |
import numpy as np
|
15 |
import torch
|