mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
i
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ def get_previewer(device, latent_format):
|
|||||||
for i, s in enumerate(x_sample):
|
for i, s in enumerate(x_sample):
|
||||||
flag = f'OpenCV Diffusion Preview {i}'
|
flag = f'OpenCV Diffusion Preview {i}'
|
||||||
cv2.imshow(flag, s)
|
cv2.imshow(flag, s)
|
||||||
cv2.setWindowTitle(flag, f'Preview {i}, [{step}/{total_steps}]')
|
cv2.setWindowTitle(flag, f'Preview Image {i} [{step}/{total_steps}]')
|
||||||
cv2.setWindowProperty(flag, cv2.WND_PROP_TOPMOST, 1)
|
cv2.setWindowProperty(flag, cv2.WND_PROP_TOPMOST, 1)
|
||||||
cv2.waitKey(1)
|
cv2.waitKey(1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user