sergiopaniego HF Staff flxrvrt commited on
Commit
5593307
·
verified ·
1 Parent(s): e219737

Update unit2/smolagents/vision_web_browser.py (#92)

Browse files

- Update unit2/smolagents/vision_web_browser.py (3c08e56d397360af525bc8609b72eb933dcd5f77)


Co-authored-by: Felix Revert <[email protected]>

unit2/smolagents/vision_web_browser.py CHANGED
@@ -199,7 +199,7 @@ def main():
199
  agent = initialize_agent(model)
200
 
201
  # Run the agent with the provided prompt
202
- agent.python_executor("from helium import *", agent.state)
203
  agent.run(args.prompt + helium_instructions)
204
 
205
 
 
199
  agent = initialize_agent(model)
200
 
201
  # Run the agent with the provided prompt
202
+ agent.python_executor("from helium import *")
203
  agent.run(args.prompt + helium_instructions)
204
 
205