Spaces:
Menyu
/
Running on Zero

Menyu commited on
Commit
d383ce3
·
verified ·
1 Parent(s): 433aba6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -233,6 +233,10 @@ if torch.cuda.is_available():
233
  use_safetensors=True,
234
  add_watermarker=False
235
  )
 
 
 
 
236
  pipe.to("cuda")
237
 
238
  def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
 
233
  use_safetensors=True,
234
  add_watermarker=False
235
  )
236
+ pipe.scheduler.register_to_config(
237
+ prediction_type="v_prediction",
238
+ rescale_betas_zero_snr=True,
239
+ )
240
  pipe.to("cuda")
241
 
242
  def randomize_seed_fn(seed: int, randomize_seed: bool) -> int: