Spaces:
Running
on
T4
Running
on
T4
liuyizhang
commited on
Commit
•
69a6235
1
Parent(s):
e9dceec
update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,8 @@ import torch
|
|
20 |
from PIL import Image, ImageDraw, ImageFont
|
21 |
|
22 |
# Grounding DINO
|
23 |
-
import
|
|
|
24 |
from .GroundingDINO.groundingdino.models import build_model
|
25 |
from .GroundingDINO.groundingdino.util import box_ops
|
26 |
from .GroundingDINO.groundingdino.util.slconfig import SLConfig
|
|
|
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
|