AdamOswald1 commited on
Commit
29f021f
1 Parent(s): 8a20a1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -87,9 +87,9 @@ else:
87
  scheduler=DPMSolverMultistepScheduler.from_pretrained(current_model.path, subfolder="scheduler")
88
  )
89
 
90
- if torch.cuda.is_available():
91
- pipe = pipe.to("cuda")
92
- pipe.enable_xformers_memory_efficient_attention()
93
 
94
  device = "GPU 🔥" if torch.cuda.is_available() else "CPU 🥶"
95
 
 
87
  scheduler=DPMSolverMultistepScheduler.from_pretrained(current_model.path, subfolder="scheduler")
88
  )
89
 
90
+ if torch.cuda.is_available():
91
+ pipe = pipe.to("cuda")
92
+ pipe.enable_xformers_memory_efficient_attention()
93
 
94
  device = "GPU 🔥" if torch.cuda.is_available() else "CPU 🥶"
95