-
Couldn't load subscription status.
- Fork 6.4k
Description
The performance would be better if negative_prompt module be added,
I run fluxpipeline as below:
pipe = FluxPipeline.from_pretrained(model_path, torch_dtype=torch.bfloat16)
image = pipe(
prompt="a cat",
negative_prompt="ugly, messy, watermark",
width = OUTPUT_WIDTH,
height = OUTPUT_HEIGHT,
guidance_scale=0.0,
max_sequence_length=256,
output_type="pil",
num_inference_steps=num_inference_step, #use a larger number if you are using [dev]
generator=torch.Generator("cuda").manual_seed(seed)
).images[0]
Got this TypeError: FluxPipeline.call() got an unexpected keyword argument 'negative_prompt'
could you please support the negative_prompt or negative_embedding module in the fluxpipeline,thanks