Spaces:
Paused
Paused
Update app.py
Browse files
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 |
|