fix Desktop path error, revise main.py and update google writer tutorial

This commit is contained in:
rhythmcao
2024-02-06 21:45:03 +08:00
parent df5594b645
commit 8b42d699af
61 changed files with 201 additions and 191 deletions

View File

@@ -10,7 +10,7 @@
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1SIvX9Wimyw6i2UvnoLTNDHIObvDLAsIM&export=download&authuser=0&confirm=t&uuid=a48447ab-13a2-421f-9662-6ffff8f6f6d5&at=APZUnTVRxofs822XxgEv33WwYCkb:1705046264363",
"path": "Desktop/woman_sitting_by_the_tree.png"
"path": "/home/user/Desktop/woman_sitting_by_the_tree.png"
}
]
}
@@ -20,7 +20,7 @@
"parameters": {
"command": [
"gimp",
"Desktop/woman_sitting_by_the_tree.png"
"/home/user/Desktop/woman_sitting_by_the_tree.png"
]
}
}
@@ -83,12 +83,12 @@
"func": "check_brightness_decrease_and_structure_sim",
"expected": {
"type": "vm_file",
"path": "Desktop/woman_sitting_by_the_tree.png",
"path": "/home/user/Desktop/woman_sitting_by_the_tree.png",
"dest": "woman_sitting_by_the_tree.png"
},
"result": {
"type": "vm_file",
"path": "Desktop/edited_darker.png",
"path": "/home/user/Desktop/edited_darker.png",
"dest": "edited_darker.png"
}
}