Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import spaces
|
|
9 |
#@spaces.GPU()
|
10 |
#device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
device = "cuda"
|
12 |
-
pipe = DiffusionPipeline.from_pretrained("Lykon/AAM_XL_AnimeMix",
|
13 |
|
14 |
@spaces.GPU()
|
15 |
def main():
|
|
|
9 |
#@spaces.GPU()
|
10 |
#device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
device = "cuda"
|
12 |
+
pipe = DiffusionPipeline.from_pretrained("Lykon/AAM_XL_AnimeMix", use_safetensors=True)
|
13 |
|
14 |
@spaces.GPU()
|
15 |
def main():
|