fix
Browse files
README.md
CHANGED
@@ -164,7 +164,7 @@ from . import navigation
|
|
164 |
task = "Book a hotel in Paris on August 3rd for 3 nights"
|
165 |
prompt = navigation.get_navigation_prompt(task, image, step=1)
|
166 |
navigation_str = run_inference(prompt)[0]
|
167 |
-
navigation = NavigationStep(**json.loads(navigation_str))
|
168 |
print(navigation)
|
169 |
# Expected NavigationStep(note='', thought='I need to select the check-out date as August 3rd and then proceed to search for hotels.', action=ClickElementAction(action='click_element', element='August 3rd on the calendar', x=777, y=282))
|
170 |
```
|
|
|
164 |
task = "Book a hotel in Paris on August 3rd for 3 nights"
|
165 |
prompt = navigation.get_navigation_prompt(task, image, step=1)
|
166 |
navigation_str = run_inference(prompt)[0]
|
167 |
+
navigation = navigation.NavigationStep(**json.loads(navigation_str))
|
168 |
print(navigation)
|
169 |
# Expected NavigationStep(note='', thought='I need to select the check-out date as August 3rd and then proceed to search for hotels.', action=ClickElementAction(action='click_element', element='August 3rd on the calendar', x=777, y=282))
|
170 |
```
|