68 lines
2.0 KiB
JSON
68 lines
2.0 KiB
JSON
{
|
|
"id": "e8172110-ec08-421b-a6f5-842e6451911f",
|
|
"snapshot": "gimp",
|
|
"instruction": "Open 'character.png' in GIMP and extract the pixel art character. Save the selected character as 'character_gimp.png'. Additionally, write a Python script to automate this selection process, ensuring it precisely mimics the manual extraction done in GIMP. Output the result from the script as 'character_code.png'.",
|
|
"source": "",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/e8172110-ec08-421b-a6f5-842e6451911f/character.png",
|
|
"path": "/home/user/Desktop/character.png"
|
|
},
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/e8172110-ec08-421b-a6f5-842e6451911f/character_no_background_gold.png",
|
|
"path": "/home/user/Desktop/character_no_background_gold.png"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"gimp",
|
|
"/home/user/Desktop/character.png"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"gimp",
|
|
"vs_code"
|
|
],
|
|
"evaluator": {
|
|
"func": [
|
|
"check_structure_sim",
|
|
"check_structure_sim"
|
|
],
|
|
"result": [
|
|
{
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/character_gimp.png",
|
|
"dest": "character_gimp.png"
|
|
},
|
|
{
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/character_code.png",
|
|
"dest": "character_code.png"
|
|
}
|
|
],
|
|
"expected": [
|
|
{
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/character_no_background_gold.png",
|
|
"dest": "character_no_background_gold.png"
|
|
},
|
|
{
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/character_no_background_gold.png",
|
|
"dest": "character_no_background_gold.png"
|
|
}
|
|
]
|
|
},
|
|
"proxy": false
|
|
} |