mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-18 22:08:13 +00:00
fix inference
This commit is contained in:
@@ -17,6 +17,5 @@ image = pipe(prompt=prompt, seed=0, num_inference_steps=40, height=1024, width=1
|
||||
image.save("image1.jpg")
|
||||
|
||||
prompt = "将裙子改为粉色"
|
||||
for seed in range(1, 10):
|
||||
image = pipe(prompt, edit_image=image, seed=seed, num_inference_steps=40, height=1024, width=1024)
|
||||
image.save(f"image2_{seed}.jpg")
|
||||
image = pipe(prompt, edit_image=image, seed=1, num_inference_steps=40, height=1024, width=1024)
|
||||
image.save(f"image2.jpg")
|
||||
|
||||
@@ -19,6 +19,5 @@ image = pipe(prompt=prompt, seed=0, num_inference_steps=40, height=1024, width=1
|
||||
image.save("image1.jpg")
|
||||
|
||||
prompt = "将裙子改为粉色"
|
||||
for seed in range(1, 10):
|
||||
image = pipe(prompt, edit_image=image, seed=seed, num_inference_steps=40, height=1024, width=1024)
|
||||
image.save(f"image2_{seed}.jpg")
|
||||
image = pipe(prompt, edit_image=image, seed=1, num_inference_steps=40, height=1024, width=1024)
|
||||
image.save(f"image2.jpg")
|
||||
|
||||
Reference in New Issue
Block a user