Upload share_gpt4o.py with huggingface_hub
Browse files- share_gpt4o.py +2 -2
share_gpt4o.py
CHANGED
|
@@ -159,8 +159,8 @@ def text_and_image_to_image_generate(input_prompt, input_image_path, output_path
|
|
| 159 |
|
| 160 |
|
| 161 |
# Run
|
| 162 |
-
prompt = "
|
| 163 |
-
input_image_path = "/data5/czh/bxh/SEED-Data-Edit-Part2-3/multi_turn_editing/images/data/20240318_278P_1069turns/Data/
|
| 164 |
image_output_path = "test_1.png"
|
| 165 |
text_and_image_to_image_generate(prompt, input_image_path, image_output_path, vl_chat_processor, vl_gpt,
|
| 166 |
parallel_size=1)
|
|
|
|
| 159 |
|
| 160 |
|
| 161 |
# Run
|
| 162 |
+
prompt = "Place a potted plant on the step to the left of the bicycle."
|
| 163 |
+
input_image_path = "/data5/czh/bxh/SEED-Data-Edit-Part2-3/multi_turn_editing/images/data/20240318_278P_1069turns/Data/298/9945a25b0438494eb4cdb7a05574f16a.jpg"
|
| 164 |
image_output_path = "test_1.png"
|
| 165 |
text_and_image_to_image_generate(prompt, input_image_path, image_output_path, vl_chat_processor, vl_gpt,
|
| 166 |
parallel_size=1)
|