Improve the parallel logic
This commit is contained in:
@@ -753,7 +753,6 @@ class OpenAICUAAgent:
|
||||
# Convert the action to an Action object
|
||||
step_action = Action(action.get("action", ""), self.action_space)
|
||||
# Execute the action in the environment
|
||||
print(f"Executing action: {step_action.get_action()}")
|
||||
obs, reward, terminated, info = self.env.step(step_action.get_action())
|
||||
|
||||
screenshot_base64 = encode_image(obs["screenshot"])
|
||||
|
||||
Reference in New Issue
Block a user