Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ dtype = torch.bfloat16
|
|
27 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
28 |
|
29 |
# Load the diffusion pipeline from the gated repository
|
30 |
-
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell"
|
31 |
|
32 |
MAX_SEED = np.iinfo(np.int32).max
|
33 |
MAX_IMAGE_SIZE = 2048
|
|
|
27 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
28 |
|
29 |
# Load the diffusion pipeline from the gated repository
|
30 |
+
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell")
|
31 |
|
32 |
MAX_SEED = np.iinfo(np.int32).max
|
33 |
MAX_IMAGE_SIZE = 2048
|