Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def run_inference_localization(
|
|
85 |
)
|
86 |
|
87 |
# 2. Process text and image together to get model inputs
|
88 |
-
inputs =
|
89 |
text=[text_prompt],
|
90 |
images=[pil_image_for_processing], # Provide the actual image data here
|
91 |
padding=True,
|
|
|
85 |
)
|
86 |
|
87 |
# 2. Process text and image together to get model inputs
|
88 |
+
inputs = processor(
|
89 |
text=[text_prompt],
|
90 |
images=[pil_image_for_processing], # Provide the actual image data here
|
91 |
padding=True,
|