Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ pipe.enable_model_cpu_offload()
|
|
60 |
pipe.enable_xformers_memory_efficient_attention()
|
61 |
|
62 |
# Generator seed,
|
63 |
-
generator = torch.Generator('cuda').manual_seed(
|
64 |
|
65 |
def get_canny_filter(image):
|
66 |
if not isinstance(image, np.ndarray):
|
|
|
60 |
pipe.enable_xformers_memory_efficient_attention()
|
61 |
|
62 |
# Generator seed,
|
63 |
+
generator = torch.Generator('cuda').manual_seed(int(123456))
|
64 |
|
65 |
def get_canny_filter(image):
|
66 |
if not isinstance(image, np.ndarray):
|