Spaces:
Paused
Paused
lllyasviel
commited on
Commit
·
c2bb05b
1
Parent(s):
688b30f
- modules/core.py +1 -1
modules/core.py
CHANGED
@@ -66,7 +66,7 @@ def get_previewer(device, latent_format):
|
|
66 |
for i, s in enumerate(x_sample):
|
67 |
flag = f'OpenCV Diffusion Preview {i}'
|
68 |
cv2.imshow(flag, s)
|
69 |
-
cv2.setWindowTitle(flag, f'Preview {i}
|
70 |
cv2.setWindowProperty(flag, cv2.WND_PROP_TOPMOST, 1)
|
71 |
cv2.waitKey(1)
|
72 |
|
|
|
66 |
for i, s in enumerate(x_sample):
|
67 |
flag = f'OpenCV Diffusion Preview {i}'
|
68 |
cv2.imshow(flag, s)
|
69 |
+
cv2.setWindowTitle(flag, f'Preview Image {i} [{step}/{total_steps}]')
|
70 |
cv2.setWindowProperty(flag, cv2.WND_PROP_TOPMOST, 1)
|
71 |
cv2.waitKey(1)
|
72 |
|