Ikuinen commited on
Commit
a7ac60f
1 Parent(s): 6abcd14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,8 @@ import random
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
16
  import torch.backends.cudnn as cudnn
 
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
+ import sys
14
+ sys.path.insert(0, './GroundingDINO')
15
  import numpy as np
16
  import torch
17
  import torch.backends.cudnn as cudnn