diff --git a/WebUI/src/assets/js/store/imageGeneration.ts b/WebUI/src/assets/js/store/imageGeneration.ts index b9f6129..16a8976 100644 --- a/WebUI/src/assets/js/store/imageGeneration.ts +++ b/WebUI/src/assets/js/store/imageGeneration.ts @@ -282,7 +282,6 @@ export const useImageGeneration = defineStore( 'resolution', 'seed', 'inferenceSteps', - 'negativePrompt', 'batchSize', 'imagePreview', 'safetyCheck', @@ -363,7 +362,6 @@ export const useImageGeneration = defineStore( 'resolution', 'seed', 'inferenceSteps', - 'negativePrompt', 'batchSize', 'imagePreview', 'safetyCheck', diff --git a/service/paint_biz.py b/service/paint_biz.py index 7458b41..40c92ea 100644 --- a/service/paint_biz.py +++ b/service/paint_biz.py @@ -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]