Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import os
|
| 2 |
os.system('git clone https://github.com/facebookresearch/detectron2.git')
|
| 3 |
os.system('pip install -e detectron2')
|
| 4 |
-
import
|
| 5 |
sys.path.append("detectron2")
|
| 6 |
from unilm.dit.object_detection.ditod import add_vit_config
|
| 7 |
import torch
|
|
|
|
| 1 |
import os
|
| 2 |
os.system('git clone https://github.com/facebookresearch/detectron2.git')
|
| 3 |
os.system('pip install -e detectron2')
|
| 4 |
+
import sys
|
| 5 |
sys.path.append("detectron2")
|
| 6 |
from unilm.dit.object_detection.ditod import add_vit_config
|
| 7 |
import torch
|