Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 ..")
|