Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
f010695
1
Parent(s):
fef7090
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from typing import Tuple
|
|
11 |
dtype = torch.bfloat16
|
12 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
13 |
|
14 |
-
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-
|
15 |
|
16 |
MAX_SEED = np.iinfo(np.int32).max
|
17 |
MAX_IMAGE_SIZE = 2048
|
|
|
11 |
dtype = torch.bfloat16
|
12 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
13 |
|
14 |
+
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=dtype).to(device)
|
15 |
|
16 |
MAX_SEED = np.iinfo(np.int32).max
|
17 |
MAX_IMAGE_SIZE = 2048
|