liuyizhang commited on
Commit
31c48f1
1 Parent(s): 69a6235

update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -20,12 +20,12 @@ import torch
20
  from PIL import Image, ImageDraw, ImageFont
21
 
22
  # Grounding DINO
23
- # import GroundingDINO.groundingdino.datasets.transforms as T
24
- from .GroundingDINO.groundingdino.datasets import transforms as T
25
- from .GroundingDINO.groundingdino.models import build_model
26
- from .GroundingDINO.groundingdino.util import box_ops
27
- from .GroundingDINO.groundingdino.util.slconfig import SLConfig
28
- from .GroundingDINO.groundingdino.util.utils import clean_state_dict, get_phrases_from_posmap
29
 
30
  # segment anything
31
  from segment_anything import build_sam, SamPredictor
 
20
  from PIL import Image, ImageDraw, ImageFont
21
 
22
  # Grounding DINO
23
+ import groundingdino.datasets.transforms as T
24
+ # from groundingdino.datasets import transforms as T
25
+ from groundingdino.models import build_model
26
+ from groundingdino.util import box_ops
27
+ from groundingdino.util.slconfig import SLConfig
28
+ from groundingdino.util.utils import clean_state_dict, get_phrases_from_posmap
29
 
30
  # segment anything
31
  from segment_anything import build_sam, SamPredictor