Skip to content

Commit

Permalink
fix negative prompt for sd and disable for lcm
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Schuettler <[email protected]>
  • Loading branch information
mschuettlerTNG committed Jan 29, 2025
1 parent 5ff4298 commit 8167c28
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 8167c28

Please sign in to comment.