Skip to content

Commit

Permalink
img2img: re-introduce neg prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
bghira committed Jul 6, 2023
1 parent cde4626 commit d61050f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord_tron_client/classes/image_manipulation/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def _run_pipeline(
new_image = pipe(
prompt=positive_prompt,
negative_prompt=negative_prompt, # negative prompts are broken in img2img.
num_images_per_prompt=max(batch_size, 2),
num_images_per_prompt=min(batch_size, 2),
image=image,
strength=user_config["strength"],
num_inference_steps=int(float(steps)),
Expand Down

0 comments on commit d61050f

Please sign in to comment.