Upload data.py with huggingface_hub
Browse files
data.py
CHANGED
@@ -56,7 +56,7 @@ for sud_ in os.listdir(file_path):
|
|
56 |
"type": "image",
|
57 |
"image": img_path,
|
58 |
},
|
59 |
-
{"type": "text", "text": "Please help me write a prompt for image editing on this picture. The requirements are as follows: complex editing instructions should include
|
60 |
],
|
61 |
}
|
62 |
save_data.append(message)
|
|
|
56 |
"type": "image",
|
57 |
"image": img_path,
|
58 |
},
|
59 |
+
{"type": "text", "text": "Please help me write a prompt for image editing on this picture. The requirements are as follows: complex editing instructions should include one to two simple editing instructions involving spatial relationships (simple editing instructions such as ADD: add an object to the left of a certain object, DELETE: delete a certain object, MODIFY: change a certain object into another object). We hope that the editing instructions can have simple reasoning . Please give me clear editing instructions and also consider whether such editing instructions are reasonable.Examples are as follows:Remove the person standing on the tracks and Change the red train into red train"},
|
60 |
],
|
61 |
}
|
62 |
save_data.append(message)
|