mirrored 4 minutes ago
0
TimothyxxxUpdate GIMP evaluation examples to replace local file paths with cloud file URLs for consistency and accessibility. 9be5184
{
  "id": "7a4deb26-d57d-4ea9-9a73-630f66a7b568",
  "snapshot": "gimp",
  "instruction": "Could you tone down the brightness of my photo?",
  "source": "https://www.quora.com/How-do-I-edit-a-photo-in-GIMP",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/gimp/7a4deb26-d57d-4ea9-9a73-630f66a7b568/woman_sitting_by_the_tree.png",
            "path": "/home/user/Desktop/woman_sitting_by_the_tree.png"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "gimp",
          "/home/user/Desktop/woman_sitting_by_the_tree.png"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "gimp"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python3",
            "-c",
            "import time; import pyautogui; time.sleep(1);pyautogui.hotkey([\"shift\", \"ctrl\", \"e\"]);"
          ]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python3",
            "-c",
            "import time; import pyautogui; time.sleep(1);pyautogui.write(\"edited_darker\");time.sleep(1);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_brightness_decrease_and_structure_sim",
    "expected": {
      "type": "cloud_file",
      "path": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/gimp/7a4deb26-d57d-4ea9-9a73-630f66a7b568/woman_sitting_by_the_tree.png",
      "dest": "woman_sitting_by_the_tree.png"
    },
    "result": {
      "type": "vm_file",
      "path": "/home/user/Desktop/edited_darker.png",
      "dest": "edited_darker.png"
    }
  },
  "proxy": false,
  "fixed_ip": false,
  "possibility_of_env_change": "low"
}