allencbzhang commited on
Commit
91ef096
·
verified ·
1 Parent(s): 8685fd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -4,6 +4,8 @@ import gradio as gr
4
  import shutil
5
  import sys
6
  import subprocess
 
 
7
 
8
  os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
9
  os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt && cd ..")
 
4
  import shutil
5
  import sys
6
  import subprocess
7
+ import shlex
8
+ import torch
9
 
10
  os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
11
  os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt && cd ..")