Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,8 @@ import time
|
|
7 |
from diffusers import DiffusionPipeline, AutoencoderTiny
|
8 |
from custom_pipeline import FluxWithCFGPipeline
|
9 |
|
|
|
|
|
10 |
# Constants
|
11 |
MAX_SEED = np.iinfo(np.int32).max
|
12 |
MAX_IMAGE_SIZE = 2048
|
|
|
7 |
from diffusers import DiffusionPipeline, AutoencoderTiny
|
8 |
from custom_pipeline import FluxWithCFGPipeline
|
9 |
|
10 |
+
torch.set_float32_matmul_precision("medium")
|
11 |
+
|
12 |
# Constants
|
13 |
MAX_SEED = np.iinfo(np.int32).max
|
14 |
MAX_IMAGE_SIZE = 2048
|