Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -528,9 +528,9 @@ def infer(
|
|
528 |
else:
|
529 |
# Генерация изображений с DDIMScheduler ---------------------------------------------------------------------------------------------
|
530 |
|
531 |
-
if use_DDIMScheduler:
|
532 |
|
533 |
-
print('use_DDIMScheduler = ',
|
534 |
|
535 |
generator = torch.Generator(device).manual_seed(seed)
|
536 |
|
|
|
528 |
else:
|
529 |
# Генерация изображений с DDIMScheduler ---------------------------------------------------------------------------------------------
|
530 |
|
531 |
+
if use_DDIMScheduler == True:
|
532 |
|
533 |
+
print('use_DDIMScheduler = ', True)
|
534 |
|
535 |
generator = torch.Generator(device).manual_seed(seed)
|
536 |
|