mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
i
This commit is contained in:
@@ -3,7 +3,6 @@ import os
|
||||
import torch
|
||||
|
||||
from modules.path import modelfile_path, lorafile_path
|
||||
from modules.cv2win32 import close_all_preview
|
||||
|
||||
|
||||
xl_base_filename = os.path.join(modelfile_path, 'sd_xl_base_1.0.safetensors')
|
||||
@@ -44,6 +43,4 @@ def process(positive_prompt, negative_prompt, steps, switch, width, height, imag
|
||||
|
||||
images = core.image_to_numpy(decoded_latent)
|
||||
|
||||
close_all_preview()
|
||||
|
||||
return images
|
||||
|
||||
Reference in New Issue
Block a user