Update README.md
Browse files
README.md
CHANGED
|
@@ -28,6 +28,15 @@ cd ./your_directory/
|
|
| 28 |
python3 -m http.server 6666
|
| 29 |
```
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
```python
|
| 32 |
import requests
|
| 33 |
import json
|
|
|
|
| 28 |
python3 -m http.server 6666
|
| 29 |
```
|
| 30 |
|
| 31 |
+
```python
|
| 32 |
+
# Instruction for Screen Grounding
|
| 33 |
+
temp = '''Locate the element on the screen with the function or description: [DESCRIPTIONS].
|
| 34 |
+
Keep the following output format: {"point 2d": [x,y], "label": description of the target element.}'''
|
| 35 |
+
|
| 36 |
+
elem_desc = "Description of the UI elements on the screen."
|
| 37 |
+
inst = temp.replace("[DESCRIPTIONS]", elem_desc)
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
```python
|
| 41 |
import requests
|
| 42 |
import json
|