Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,9 @@ from PIL import Image
|
|
5 |
from diffusers import DiffusionPipeline
|
6 |
import random
|
7 |
|
8 |
-
torch.backends.cudnn.deterministic =
|
9 |
torch.backends.cudnn.benchmark = False
|
10 |
-
torch.backends.cuda.matmul.allow_tf32 =
|
11 |
|
12 |
# Initialize the base model and specific LoRA
|
13 |
base_model = "black-forest-labs/FLUX.1-dev"
|
|
|
5 |
from diffusers import DiffusionPipeline
|
6 |
import random
|
7 |
|
8 |
+
torch.backends.cudnn.deterministic = False
|
9 |
torch.backends.cudnn.benchmark = False
|
10 |
+
torch.backends.cuda.matmul.allow_tf32 = False
|
11 |
|
12 |
# Initialize the base model and specific LoRA
|
13 |
base_model = "black-forest-labs/FLUX.1-dev"
|