Ahsen Khaliq commited on
Commit
26666e6
1 Parent(s): b4a329f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -4,6 +4,10 @@ os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/w
4
  os.system("pip install git+https://github.com/openai/CLIP.git")
5
  import gradio as gr
6
 
 
 
 
 
7
  # Install detectron2
8
  import torch
9
 
 
4
  os.system("pip install git+https://github.com/openai/CLIP.git")
5
  import gradio as gr
6
 
7
+ # clone and install Detic
8
+ os.system("git clone https://github.com/facebookresearch/Detic.git --recurse-submodules")
9
+ sys.path.append('./Detic')
10
+
11
  # Install detectron2
12
  import torch
13