Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ def run_example(task_prompt, image, text_input=None):
|
|
| 53 |
task=task_prompt,
|
| 54 |
image_size=(image.width, image.height)
|
| 55 |
)
|
| 56 |
-
return parsed_answer[task_prompt]
|
| 57 |
|
| 58 |
def plot_bbox(image, data):
|
| 59 |
fig, ax = plt.subplots()
|
|
|
|
| 53 |
task=task_prompt,
|
| 54 |
image_size=(image.width, image.height)
|
| 55 |
)
|
| 56 |
+
return parsed_answer[task_prompt]#.replace("<pad>", "")
|
| 57 |
|
| 58 |
def plot_bbox(image, data):
|
| 59 |
fig, ax = plt.subplots()
|