mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
i
This commit is contained in:
+2
-2
@@ -82,9 +82,9 @@ def get_previewer(device, latent_format):
|
||||
x_sample = x_sample.cpu().numpy().clip(0, 255).astype(np.uint8)
|
||||
for i, s in enumerate(x_sample):
|
||||
if i > 0:
|
||||
show_preview(f'OpenCV Diffusion Preview {i}', s, title=f'Preview Image {i} [{step}/{total_steps}]')
|
||||
show_preview(s, title=f'Preview Image {i}, step = [{step}/{total_steps}')
|
||||
else:
|
||||
show_preview(f'OpenCV Diffusion Preview {i}', s, title=f'Preview Image [{step}/{total_steps}]')
|
||||
show_preview(s, title=f'Preview Image, step = {step}/{total_steps}')
|
||||
|
||||
taesd.preview = preview_function
|
||||
|
||||
|
||||
Reference in New Issue
Block a user