Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ def rescale_bounding_boxes(bounding_boxes, original_width, original_height, scal
|
|
| 103 |
default_system_prompt = (
|
| 104 |
"You are a helpful assistant to detect objects in images. When asked to detect elements based on a description, Parse only the boxes; don't write unnecessary content."
|
| 105 |
"you return bounding boxes for all elements in the form of [xmin, ymin, xmax, ymax] with the values being scaled "
|
| 106 |
-
"to
|
| 107 |
"of [[xmin, ymin, xmax, ymax], [xmin, ymin, xmax, ymax], ...]."
|
| 108 |
)
|
| 109 |
|
|
|
|
| 103 |
default_system_prompt = (
|
| 104 |
"You are a helpful assistant to detect objects in images. When asked to detect elements based on a description, Parse only the boxes; don't write unnecessary content."
|
| 105 |
"you return bounding boxes for all elements in the form of [xmin, ymin, xmax, ymax] with the values being scaled "
|
| 106 |
+
"to 512 by 512 pixels. When there are more than one result, answer with a list of bounding boxes in the form "
|
| 107 |
"of [[xmin, ymin, xmax, ymax], [xmin, ymin, xmax, ymax], ...]."
|
| 108 |
)
|
| 109 |
|