m-ric HF Staff commited on
Commit
e4c3041
·
1 Parent(s): 9c600ff

Update smolagents to log planning step

Browse files
Files changed (3) hide show
  1. app.py +0 -1
  2. e2bqwen.py +1 -1
  3. requirements.txt +1 -1
app.py CHANGED
@@ -619,7 +619,6 @@ with gr.Blocks(css=custom_css, js=custom_js, fill_width=True) as demo:
619
 
620
 
621
  # Chain the events
622
- # 1. Set view-only mode when button is clicked and reset visibility
623
  view_only_event = update_btn.click(
624
  fn=clear_and_set_view_only,
625
  inputs=[task_input],
 
619
 
620
 
621
  # Chain the events
 
622
  view_only_event = update_btn.click(
623
  fn=clear_and_set_view_only,
624
  inputs=[task_input],
e2bqwen.py CHANGED
@@ -103,7 +103,7 @@ Remember to:
103
  Always wait for appropriate loading times
104
  Use precise coordinates based on the current screenshot
105
  Execute one action at a time
106
- Verify the result before proceeding to the next step
107
  Use click to move through menus on the desktop and scroll for web and specific applications.
108
  REMEMBER TO ALWAYS CLICK IN THE MIDDLE OF THE TEXT, NOT ON THE SIDE, NOT UNDER.
109
  """
 
103
  Always wait for appropriate loading times
104
  Use precise coordinates based on the current screenshot
105
  Execute one action at a time
106
+ Verify the result before proceeding to the next step. If you repeated an action already without effect, it means that this action is useless: don't repeat it and try something else.
107
  Use click to move through menus on the desktop and scroll for web and specific applications.
108
  REMEMBER TO ALWAYS CLICK IN THE MIDDLE OF THE TEXT, NOT ON THE SIDE, NOT UNDER.
109
  """
requirements.txt CHANGED
@@ -1,5 +1,5 @@
 
1
  e2b_desktop
2
- smolagents
3
  Pillow
4
  huggingface_hub
5
  openai
 
1
+ git+https://github.com/huggingface/smolagents.git
2
  e2b_desktop
 
3
  Pillow
4
  huggingface_hub
5
  openai