@@ -497,12 +497,6 @@ class AguvisAgent:
|
|||||||
{
|
{
|
||||||
"role": "user",
|
"role": "user",
|
||||||
"content": [
|
"content": [
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"text": AGUVIS_GROUNDING_PROMPT.format(
|
|
||||||
instruction=comment,
|
|
||||||
),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "image_url",
|
"type": "image_url",
|
||||||
"image_url": {
|
"image_url": {
|
||||||
@@ -510,6 +504,10 @@ class AguvisAgent:
|
|||||||
"detail": "high",
|
"detail": "high",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"text": '\n' + comment,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user