Skip to content

Commit

Permalink
Merge pull request #161 from TNG/fix-negative-prompt-for-sd
Browse files Browse the repository at this point in the history
Fix negative prompt adherence for Non-Fast Standard modes
  • Loading branch information
Nuullll authored Jan 30, 2025
2 parents 5ff4298 + 8167c28 commit 8d7bada
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions WebUI/src/assets/js/store/imageGeneration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ export const useImageGeneration = defineStore(
'resolution',
'seed',
'inferenceSteps',
'negativePrompt',
'batchSize',
'imagePreview',
'safetyCheck',
Expand Down Expand Up @@ -363,7 +362,6 @@ export const useImageGeneration = defineStore(
'resolution',
'seed',
'inferenceSteps',
'negativePrompt',
'batchSize',
'imagePreview',
'safetyCheck',
Expand Down
1 change: 1 addition & 0 deletions service/paint_biz.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ def text_to_image(
generator=generator,
num_inference_steps=params.inference_steps,
guidance_scale=params.guidance_scale,
negative_prompt=params.negative_prompt,
callback_on_step_end=__callback_on_step_end__,
**custom_inputs,
).images[0]
Expand Down

0 comments on commit 8d7bada

Please sign in to comment.