This commit is contained in:
lvmin
2023-08-10 05:05:21 -07:00
parent 2f95d3ae60
commit 3e91917de7
4 changed files with 22 additions and 5 deletions
+17 -3
View File
@@ -1,5 +1,19 @@
print('hello word')
import os
from comfy.sd import load_checkpoint_guess_config
from nodes import CheckpointLoader
from nodes import (
VAEDecode,
KSamplerAdvanced,
EmptyLatentImage,
SaveImage,
CLIPTextEncode,
)
print(CheckpointLoader)
from modules.path import modelfile_path
xl_base_filename = os.path.join(modelfile_path, 'sd_xl_base_1.0.safetensors')
xl_refiner_filename = os.path.join(modelfile_path, 'sd_xl_refiner_1.0.safetensors')
ckpts = load_checkpoint_guess_config(xl_base_filename)
a = 0