ikuinen99 commited on
Commit
76139c0
·
1 Parent(s): c7c0ab8
Files changed (1) hide show
  1. app.py +2 -1
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 && cd GroundingDINO && CUDA_HOME=/usr/local/cuda pip install -e .")
 
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