Improve on eval script on web browsing tasks; Add one setup example
This commit is contained in:
@@ -316,6 +316,9 @@ class DesktopEnv(gym.Env):
|
||||
return 1
|
||||
else:
|
||||
return 0
|
||||
else:
|
||||
if len(self.action_history) > 0 and self.action_history[-1] == "FAIL":
|
||||
return 0
|
||||
|
||||
if type(self.metric) == list:
|
||||
results = []
|
||||
|
||||
Reference in New Issue
Block a user