Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def run_local(image, label):
|
|
91 |
global groundingdino_model, sam_predictor
|
92 |
|
93 |
|
94 |
-
image_pil =
|
95 |
transformed_image = transform_image(image_pil)
|
96 |
|
97 |
|
|
|
91 |
global groundingdino_model, sam_predictor
|
92 |
|
93 |
|
94 |
+
image_pil = image.convert("RGB")
|
95 |
transformed_image = transform_image(image_pil)
|
96 |
|
97 |
|