mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-09 21:04:41 +08:00
fix import
This commit is contained in:
parent
08a22951ed
commit
a879d15208
@ -23,7 +23,7 @@ from comfy_extras.nodes_mask import ImageCompositeMasked
|
|||||||
from comfy.cli_args import args
|
from comfy.cli_args import args
|
||||||
from comfy.utils import ProgressBar, common_upscale
|
from comfy.utils import ProgressBar, common_upscale
|
||||||
import folder_paths
|
import folder_paths
|
||||||
import model_management
|
from comfy import model_management
|
||||||
|
|
||||||
script_directory = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
script_directory = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import numpy as np
|
|||||||
from contextlib import nullcontext
|
from contextlib import nullcontext
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import model_management
|
from comfy import model_management
|
||||||
from comfy.utils import ProgressBar
|
from comfy.utils import ProgressBar
|
||||||
from comfy.utils import common_upscale
|
from comfy.utils import common_upscale
|
||||||
from nodes import MAX_RESOLUTION
|
from nodes import MAX_RESOLUTION
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import json, re, os, io, time, platform
|
|||||||
import re
|
import re
|
||||||
import importlib
|
import importlib
|
||||||
|
|
||||||
import model_management
|
from comfy import model_management
|
||||||
import folder_paths
|
import folder_paths
|
||||||
from nodes import MAX_RESOLUTION
|
from nodes import MAX_RESOLUTION
|
||||||
from comfy.utils import common_upscale, ProgressBar, load_torch_file
|
from comfy.utils import common_upscale, ProgressBar, load_torch_file
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user