mirrored 17 minutes ago
0
Timothyxxxfeat: Add proxy configuration to all 369 evaluation examples - 55 with proxy, 314 without fb7bafb
{
  "id": "2a729ded-3296-423d-aec4-7dd55ed5fbb3",
  "snapshot": "gimp",
  "instruction": "Could you make the background of this image transparent for me?",
  "source": "https://www.youtube.com/watch?v=lOzSiOIipSM",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/gimp/2a729ded-3296-423d-aec4-7dd55ed5fbb3/dog_with_background.png",
            "path": "/home/user/Desktop/dog_with_background.png"
          },
          {
            "url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/gimp/2a729ded-3296-423d-aec4-7dd55ed5fbb3/dog_cutout_gold.png",
            "path": "/home/user/Desktop/dog_cutout_gold.png"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "gimp",
          "/home/user/Desktop/dog_with_background.png"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "gimp"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python3",
            "-c",
            "import pyautogui; pyautogui.hotkey([\"shift\", \"ctrl\", \"e\"]);"
          ]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python3",
            "-c",
            "import pyautogui; pyautogui.write(\"dog_without_background\");pyautogui.press([\"enter\"]);"
          ]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 2
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python3",
            "-c",
            "import pyautogui; pyautogui.press([\"enter\"]);"
          ]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 5
        }
      }
    ],
    "func": "check_structure_sim",
    "expected": {
      "type": "vm_file",
      "path": "/home/user/Desktop/dog_cutout_gold.png",
      "dest": "dog_cutout_gold.png"
    },
    "result": {
      "type": "vm_file",
      "path": "/home/user/Desktop/dog_without_background.png",
      "dest": "dog_without_background.png"
    }
  },
  "proxy": false
}