Update README.md
Browse files
README.md
CHANGED
|
@@ -140,13 +140,6 @@ action_map = {
|
|
| 140 |
5. `ENTER`: Enter operation, value and position are not applicable.
|
| 141 |
"""
|
| 142 |
}
|
| 143 |
-
|
| 144 |
-
_NAV_USER = """{system}
|
| 145 |
-
Task: {task}
|
| 146 |
-
Observation: <|image_1|>
|
| 147 |
-
Action History: {action_history}
|
| 148 |
-
What is the next action?
|
| 149 |
-
"""
|
| 150 |
```
|
| 151 |
|
| 152 |
```python
|
|
@@ -160,8 +153,9 @@ messages = [
|
|
| 160 |
"role": "user",
|
| 161 |
"content": [
|
| 162 |
{"type": "text", "text": system_prompt},
|
|
|
|
|
|
|
| 163 |
{"type": "image", "image": img_url, "min_pixels": min_pixels, "max_pixels": max_pixels},
|
| 164 |
-
{"type": "text", "text": query}
|
| 165 |
],
|
| 166 |
}
|
| 167 |
]
|
|
|
|
| 140 |
5. `ENTER`: Enter operation, value and position are not applicable.
|
| 141 |
"""
|
| 142 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
```
|
| 144 |
|
| 145 |
```python
|
|
|
|
| 153 |
"role": "user",
|
| 154 |
"content": [
|
| 155 |
{"type": "text", "text": system_prompt},
|
| 156 |
+
{"type": "text", "text": f'Task: {query}'},
|
| 157 |
+
# {"type": "text", "text": PAST_ACTION},
|
| 158 |
{"type": "image", "image": img_url, "min_pixels": min_pixels, "max_pixels": max_pixels},
|
|
|
|
| 159 |
],
|
| 160 |
}
|
| 161 |
]
|