asdjghh commited on
Commit
c8ede6c
·
verified ·
1 Parent(s): a480fcb

Upload share_gpt4o.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. 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 = "Add a airplane in the sky."
163
- input_image_path = "/data5/czh/bxh/SEED-Data-Edit-Part2-3/multi_turn_editing/images/data/20240318_278P_1069turns/Data/297/9934d3ef3944453da459e9012cdd6a03.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)
 
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)