mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-25 02:38:10 +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")
|
image.save("image1.jpg")
|
||||||
|
|
||||||
prompt = "将裙子改为粉色"
|
prompt = "将裙子改为粉色"
|
||||||
for seed in range(1, 10):
|
image = pipe(prompt, edit_image=image, seed=1, num_inference_steps=40, height=1024, width=1024)
|
||||||
image = pipe(prompt, edit_image=image, seed=seed, num_inference_steps=40, height=1024, width=1024)
|
image.save(f"image2.jpg")
|
||||||
image.save(f"image2_{seed}.jpg")
|
|
||||||
|
|||||||
@@ -19,6 +19,5 @@ image = pipe(prompt=prompt, seed=0, num_inference_steps=40, height=1024, width=1
|
|||||||
image.save("image1.jpg")
|
image.save("image1.jpg")
|
||||||
|
|
||||||
prompt = "将裙子改为粉色"
|
prompt = "将裙子改为粉色"
|
||||||
for seed in range(1, 10):
|
image = pipe(prompt, edit_image=image, seed=1, num_inference_steps=40, height=1024, width=1024)
|
||||||
image = pipe(prompt, edit_image=image, seed=seed, num_inference_steps=40, height=1024, width=1024)
|
image.save(f"image2.jpg")
|
||||||
image.save(f"image2_{seed}.jpg")
|
|
||||||
|
|||||||
Reference in New Issue
Block a user