Spaces:
Runtime error
Runtime error
File size: 669 Bytes
aac5fc4 235b825 aac5fc4 48b4acf aac5fc4 235b825 aac5fc4 235b825 aac5fc4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | import sys
sys.path.insert(0, "../")
# don't run this cell if you have already set the key in environment variables
from agency_swarm import set_openai_key
set_openai_key("")
from agency_swarm import Agency, Agent
from agency_swarm.agents import BrowsingAgent, Devid
selenium_config = {
# your profile path
# "chrome_profile_path": "/Users/vrsen/Library/Application Support/Google/Chrome Canary/Profile 1",
"headless": False,
"full_page_screenshot": False,
}
browsing_agent = BrowsingAgent(selenium_config=selenium_config)
agency = Agency([browsing_agent])
demo = agency.demo_gradio(height=700) # reload the notebook each time you run this cell |