Spaces:
Sleeping
Sleeping
dragonSwing
commited on
Commit
•
53c5524
1
Parent(s):
637f41e
Fix imports
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ sys.path.append("GroundingDINO")
|
|
25 |
from groundingdino.util.inference import Model as DinoModel
|
26 |
from tag2text.models import tag2text
|
27 |
from config import *
|
28 |
-
from utils import download_file_hf, detect, segment,
|
29 |
|
30 |
if not os.path.exists(abs_weight_dir):
|
31 |
os.makedirs(abs_weight_dir, exist_ok=True)
|
|
|
25 |
from groundingdino.util.inference import Model as DinoModel
|
26 |
from tag2text.models import tag2text
|
27 |
from config import *
|
28 |
+
from utils import download_file_hf, detect, segment, generate_tags
|
29 |
|
30 |
if not os.path.exists(abs_weight_dir):
|
31 |
os.makedirs(abs_weight_dir, exist_ok=True)
|