Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
7acfd95
1
Parent(s):
90a1afd
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,10 @@ import spaces
|
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
|
10 |
-
pipeline = AuraFlowPipeline(
|
11 |
"AuraDiffusion/auradiffusion-v0.1a0",
|
12 |
-
|
|
|
13 |
|
14 |
MAX_SEED = np.iinfo(np.int32).max
|
15 |
MAX_IMAGE_SIZE = 1024
|
|
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
|
10 |
+
pipeline = AuraFlowPipeline.from_pretrained(
|
11 |
"AuraDiffusion/auradiffusion-v0.1a0",
|
12 |
+
torch_dtype=torch.float16
|
13 |
+
).to("cuda")
|
14 |
|
15 |
MAX_SEED = np.iinfo(np.int32).max
|
16 |
MAX_IMAGE_SIZE = 1024
|