update app
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def dino_inference(image, text):
|
|
11 |
|
12 |
model = load_model("groundingdino/config/GroundingDINO_SwinT_OGC.py",
|
13 |
"weights/groundingdino_swint_ogc.pth")
|
14 |
-
IMAGE_PATH =
|
15 |
TEXT_PROMPT = text # "apple . fruit basket . table ."
|
16 |
BOX_TRESHOLD = 0.35
|
17 |
TEXT_TRESHOLD = 0.25
|
|
|
11 |
|
12 |
model = load_model("groundingdino/config/GroundingDINO_SwinT_OGC.py",
|
13 |
"weights/groundingdino_swint_ogc.pth")
|
14 |
+
IMAGE_PATH = new_path
|
15 |
TEXT_PROMPT = text # "apple . fruit basket . table ."
|
16 |
BOX_TRESHOLD = 0.35
|
17 |
TEXT_TRESHOLD = 0.25
|