Stremly commited on
Commit
b54d768
Β·
verified Β·
1 Parent(s): 6aca61d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def navigate(screenshot, task: str, platform: str, history):
63
  "## Action Space\nclick(start_box='...') / type(...)\n\n"
64
  f"### Task\n{task}"
65
  )
66
- user_history = [{"role":"user","content":[{"type":"text","text":prompt_header},{"type": "image_url", "image_url":screenshot}]
67
  messages = user_history
68
 
69
  # ─────────────────────────── model forward ─────────────────────────────
 
63
  "## Action Space\nclick(start_box='...') / type(...)\n\n"
64
  f"### Task\n{task}"
65
  )
66
+ user_history = [{"role":"user","content":[{"type":"text","text":prompt_header},{"type": "image_url", "image_url":screenshot}]}]
67
  messages = user_history
68
 
69
  # ─────────────────────────── model forward ─────────────────────────────