allencbzhang commited on
Commit
5a07d09
·
verified ·
1 Parent(s): c069675

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import os
2
  os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
3
- os.system("git clone https://github.com/Visual-AI/Mr.DETR.git")
4
- os.system("cd Mr.DETR")
5
- os.system("pip install .")
6
-
7
 
8
  import gradio as gr
9
  from demo.predictors import VisualizationDemo
 
1
  import os
2
  os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
3
+ os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR")
4
+ os.system("cd MrDETR && pip install .")
5
+ import sys
6
+ sys.path.append("MrDETR/")
7
 
8
  import gradio as gr
9
  from demo.predictors import VisualizationDemo