iruno commited on
Commit
2cf79ca
·
verified ·
1 Parent(s): 7ac6a17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -25,7 +25,13 @@ def install_browsergym():
25
 
26
  # Verify BrowserGym is importable
27
  try:
28
- import browsergym.core
 
 
 
 
 
 
29
  print("BrowserGym successfully imported")
30
  except ImportError as e:
31
  print(f"BrowserGym import verification failed: {e}")
 
25
 
26
  # Verify BrowserGym is importable
27
  try:
28
+ from browsergym.core.action.highlevel import HighLevelActionSet
29
+ from browsergym.utils.obs import (
30
+ flatten_axtree_to_str,
31
+ flatten_dom_to_str,
32
+ prune_html,
33
+ )
34
+ from browsergym.experiments import Agent
35
  print("BrowserGym successfully imported")
36
  except ImportError as e:
37
  print(f"BrowserGym import verification failed: {e}")