Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,7 @@ pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_d
|
|
| 21 |
torch.cuda.empty_cache()
|
| 22 |
|
| 23 |
MAX_SEED = np.iinfo(np.int32).max
|
|
|
|
| 24 |
|
| 25 |
pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_returns_an_iterable_of_images.__get__(pipe)
|
| 26 |
|
|
|
|
| 21 |
torch.cuda.empty_cache()
|
| 22 |
|
| 23 |
MAX_SEED = np.iinfo(np.int32).max
|
| 24 |
+
MAX_IMAGE_SIZE = 2048
|
| 25 |
|
| 26 |
pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_returns_an_iterable_of_images.__get__(pipe)
|
| 27 |
|