batch size 12
Browse files28 unmodified lines2930313232333435148 unmodified lines18418518618718818919019128 unmodified lines add_watermarker=False ) pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config) pipe.load_lora_weights("ehristoforu/dalle-3-xl", weight_name="dalle-3-xl-lora-v1.safetensors", adapter_name="dalle") pipe.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="dalle") pipe.set_adapters("dalle")
pipe.to("cuda")148 unmodified lines negative_prompt.submit, run_button.click, ], batch=True, max_batch_size=12, fn=generate, inputs=[ prompt,app.py+3-1