Skip to content

Commit 8d7bada

Browse files
authored
Merge pull request #161 from TNG/fix-negative-prompt-for-sd
Fix negative prompt adherence for Non-Fast Standard modes
2 parents 5ff4298 + 8167c28 commit 8d7bada

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

WebUI/src/assets/js/store/imageGeneration.ts

-2
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ export const useImageGeneration = defineStore(
282282
'resolution',
283283
'seed',
284284
'inferenceSteps',
285-
'negativePrompt',
286285
'batchSize',
287286
'imagePreview',
288287
'safetyCheck',
@@ -363,7 +362,6 @@ export const useImageGeneration = defineStore(
363362
'resolution',
364363
'seed',
365364
'inferenceSteps',
366-
'negativePrompt',
367365
'batchSize',
368366
'imagePreview',
369367
'safetyCheck',

service/paint_biz.py

+1
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ def text_to_image(
525525
generator=generator,
526526
num_inference_steps=params.inference_steps,
527527
guidance_scale=params.guidance_scale,
528+
negative_prompt=params.negative_prompt,
528529
callback_on_step_end=__callback_on_step_end__,
529530
**custom_inputs,
530531
).images[0]

0 commit comments

Comments
 (0)