Eyalgut commited on
Commit
99c26e2
1 Parent(s): ca169b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -61,7 +61,9 @@ def infer(prompt,negative_prompt,seed,resolution, steps):
61
 
62
  # generator = torch.Generator("cuda").manual_seed(555)
63
  t=time.time()
64
- pipe.to("cuda")
 
 
65
  if seed=="-1":
66
  generator=None
67
  else:
 
61
 
62
  # generator = torch.Generator("cuda").manual_seed(555)
63
  t=time.time()
64
+ pipe.unet.unet.to("cuda")
65
+ pipe.unet.ella.to("cuda")
66
+
67
  if seed=="-1":
68
  generator=None
69
  else: