Spaces:
Runtime error
Runtime error
Commit
·
6e29891
1
Parent(s):
55ae159
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,8 +92,6 @@ if torch.cuda.is_available():
|
|
| 92 |
pipe = pipe.to("cuda")
|
| 93 |
pipe.enable_xformers_memory_efficient_attention()
|
| 94 |
|
| 95 |
-
to_cuda(torch, pipe)
|
| 96 |
-
|
| 97 |
def to_cuda(torch, pipe):
|
| 98 |
try:
|
| 99 |
if torch.cuda.is_available():
|
|
|
|
| 92 |
pipe = pipe.to("cuda")
|
| 93 |
pipe.enable_xformers_memory_efficient_attention()
|
| 94 |
|
|
|
|
|
|
|
| 95 |
def to_cuda(torch, pipe):
|
| 96 |
try:
|
| 97 |
if torch.cuda.is_available():
|