cbensimon HF staff commited on
Commit
9f5c61a
1 Parent(s): 6824586

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -818,6 +818,7 @@ def main():
818
  pass # run without xformers
819
 
820
  pipe = pipe.to(device)
 
821
  prefetch_hf_cache(pipe)
822
  run_demo_server(pipe)
823
 
 
818
  pass # run without xformers
819
 
820
  pipe = pipe.to(device)
821
+ pipe.unet = pipe.unet.cuda()
822
  prefetch_hf_cache(pipe)
823
  run_demo_server(pipe)
824