Remove Unnecessary Line (Scheduler)
This commit is contained in:
parent
b303fdc293
commit
2048ce67ef
|
@ -714,7 +714,6 @@ def main():
|
||||||
beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", skip_prk_steps=True
|
beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", skip_prk_steps=True
|
||||||
)
|
)
|
||||||
|
|
||||||
scheduler.set_timesteps(num_inference_steps=35)
|
|
||||||
pipeline = StableDiffusionPipeline(
|
pipeline = StableDiffusionPipeline(
|
||||||
text_encoder=text_encoder,
|
text_encoder=text_encoder,
|
||||||
vae=vae,
|
vae=vae,
|
||||||
|
|
Loading…
Reference in New Issue