* fix chrome * fix: fix proxy setup * feat&fix: add proxy support in setup and remove hardcoded proxy from example * fix tasks * fix chrome finished * fix * clean chrome_fix code * clean chrome_fix code * fix chrome 2888b4e6-5b47-4b57-8bf5-c73827890774 * fix multiapps * fix chrome 2888b4e6-5b47-4b57-8bf5-c73827890774 * fix some multi_apps tasks * fix some multi_apps tasks --------- Co-authored-by: adlsdztony <zzl0712@connect.hku.hk>
90 lines
2.4 KiB
JSON
90 lines
2.4 KiB
JSON
{
|
|
"id": "9f3bb592-209d-43bc-bb47-d77d9df56504",
|
|
"snapshot": "multiapps",
|
|
"instruction": "I downloaded a video to practice listening, but I don't know how to remove the subtitles. Please help me remove the subtitles from the video and export it as \"subtitles.srt\" and store it in the same directory as the video.",
|
|
"source": "authors",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/9f3bb592-209d-43bc-bb47-d77d9df56504/video.mp4",
|
|
"path": "/home/user/video.mp4"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "/home/user/video.mp4"
|
|
}
|
|
},
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "video.mp4 - VLC media player"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"os",
|
|
"vlc",
|
|
"ubuntu_media_player"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/9f3bb592-209d-43bc-bb47-d77d9df56504/Gold%20subtitles.srt",
|
|
"path": "/home/user/subtitles_Gold.srt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/9f3bb592-209d-43bc-bb47-d77d9df56504/Subtitles%20script.py",
|
|
"path": "/home/user/Desktop/subtitles_script.py"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "command",
|
|
"parameters": {
|
|
"command": "echo password | sudo -S pip install pysrt",
|
|
"shell": "true"
|
|
}
|
|
},
|
|
{
|
|
"type": "command",
|
|
"parameters": {
|
|
"command": "echo osworld-public-evaluation | sudo -S pip install pysrt",
|
|
"shell": "true"
|
|
}
|
|
}
|
|
],
|
|
"func": "exact_match",
|
|
"result": {
|
|
"type": "vm_command_line",
|
|
"command": "python /home/user/Desktop/subtitles_script.py",
|
|
"shell": "true"
|
|
},
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"expected": "true\n"
|
|
}
|
|
}
|
|
},
|
|
"proxy": false
|
|
} |