multimodalart HF staff commited on
Commit
90a1afd
1 Parent(s): f1ff35e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -8,9 +8,8 @@ import spaces
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
 
10
  pipeline = AuraFlowPipeline(
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
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
 
10
  pipeline = AuraFlowPipeline(
11
+ "AuraDiffusion/auradiffusion-v0.1a0",
12
+ ).to(device="cuda", dtype=torch.float16)
 
13
 
14
  MAX_SEED = np.iinfo(np.int32).max
15
  MAX_IMAGE_SIZE = 1024