fffiloni commited on
Commit
74ec699
1 Parent(s): e2852a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ pipe = DiffusionPipeline.from_pretrained(
16
  scheduler = DDIMScheduler(beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", clip_sample=False, set_alpha_to_one=False)
17
  ).to(device)
18
 
19
- generator = th.Generator("cuda").manual_seed(0)
20
 
21
  def infer(prompt, init_image):
22
  res = pipe.train(
 
16
  scheduler = DDIMScheduler(beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", clip_sample=False, set_alpha_to_one=False)
17
  ).to(device)
18
 
19
+ generator = torch.Generator("cuda").manual_seed(0)
20
 
21
  def infer(prompt, init_image):
22
  res = pipe.train(