Spaces:
Running
on
Zero
Running
on
Zero
update ap
Browse files
app.py
CHANGED
|
@@ -306,7 +306,7 @@ def parse_holo2_response(response: str) -> List[Dict]:
|
|
| 306 |
try:
|
| 307 |
data = json.loads(response.strip())
|
| 308 |
if 'x' in data and 'y' in data:
|
| 309 |
-
actions.append({"type": "click", "x": int(data['x']), "y": int(data['y']), "text": "
|
| 310 |
return actions
|
| 311 |
except:
|
| 312 |
pass
|
|
|
|
| 306 |
try:
|
| 307 |
data = json.loads(response.strip())
|
| 308 |
if 'x' in data and 'y' in data:
|
| 309 |
+
actions.append({"type": "click", "x": int(data['x']), "y": int(data['y']), "text": "*", "norm": True})
|
| 310 |
return actions
|
| 311 |
except:
|
| 312 |
pass
|