Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,13 @@ def install_browsergym():
|
|
25 |
|
26 |
# Verify BrowserGym is importable
|
27 |
try:
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
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}")
|