fendiprime commited on
Commit
335ff6b
1 Parent(s): bc9d841

Fix dit loading

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,6 @@ sys.path.append("unilm")
8
 
9
  import cv2
10
 
11
- from unilm.dit.object_detection.ditod import add_vit_config
12
-
13
  import torch
14
 
15
  from detectron2.config import CfgNode as CN
@@ -18,6 +16,8 @@ from detectron2.utils.visualizer import ColorMode, Visualizer
18
  from detectron2.data import MetadataCatalog
19
  from detectron2.engine import DefaultPredictor
20
 
 
 
21
  import gradio as gr
22
 
23
 
 
8
 
9
  import cv2
10
 
 
 
11
  import torch
12
 
13
  from detectron2.config import CfgNode as CN
 
16
  from detectron2.data import MetadataCatalog
17
  from detectron2.engine import DefaultPredictor
18
 
19
+ from unilm.dit.object_detection.ditod import add_vit_config
20
+
21
  import gradio as gr
22
 
23