mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 06:10:50 +08:00
comfy_extras should not be its own toplevel package
This commit is contained in:
parent
d25d5e75f0
commit
2ed2f86117
@ -1,5 +1,5 @@
|
||||
import torch
|
||||
from ...comfy.nodes.common import MAX_RESOLUTION
|
||||
from ...nodes.common import MAX_RESOLUTION
|
||||
|
||||
|
||||
class CLIPTextEncodeSDXLRefiner:
|
||||
@ -1,5 +1,5 @@
|
||||
from ...comfy import utils
|
||||
from ...comfy.cmd import folder_paths
|
||||
from ... import utils
|
||||
from ...cmd import folder_paths
|
||||
import torch
|
||||
|
||||
def load_hypernetwork_patch(path, strength):
|
||||
@ -2,7 +2,7 @@ import numpy as np
|
||||
from scipy.ndimage import grey_dilation
|
||||
import torch
|
||||
|
||||
from ...comfy.nodes.common import MAX_RESOLUTION
|
||||
from ...nodes.common import MAX_RESOLUTION
|
||||
|
||||
|
||||
def composite(destination, source, x, y, mask = None, multiplier = 8, resize_source = False):
|
||||
@ -1,11 +1,11 @@
|
||||
from ...comfy import sd
|
||||
from ...comfy import model_base
|
||||
from ... import sd
|
||||
from ... import model_base
|
||||
|
||||
from ...comfy.cmd import folder_paths
|
||||
from ...cmd import folder_paths
|
||||
import json
|
||||
import os
|
||||
|
||||
from ...comfy.cli_args import args
|
||||
from ...cli_args import args
|
||||
|
||||
class ModelMergeSimple:
|
||||
@classmethod
|
||||
@ -4,7 +4,7 @@ import torch.nn.functional as F
|
||||
from PIL import Image
|
||||
import math
|
||||
|
||||
from ...comfy import utils
|
||||
from ... import utils
|
||||
|
||||
|
||||
class Blend:
|
||||
@ -1,8 +1,8 @@
|
||||
from ..chainner_models import model_loading
|
||||
from ...comfy import model_management
|
||||
from ... import model_management
|
||||
import torch
|
||||
from ...comfy import utils
|
||||
from ...comfy.cmd import folder_paths
|
||||
from ... import utils
|
||||
from ...cmd import folder_paths
|
||||
|
||||
|
||||
class UpscaleModelLoader:
|
||||
@ -7,7 +7,7 @@ import time
|
||||
import types
|
||||
|
||||
from . import base_nodes
|
||||
from ...comfy_extras import nodes as comfy_extras_nodes
|
||||
from ..comfy_extras import nodes as comfy_extras_nodes
|
||||
|
||||
try:
|
||||
import custom_nodes
|
||||
|
||||
4
setup.py
4
setup.py
@ -17,7 +17,7 @@ from setuptools import setup, find_packages
|
||||
"""
|
||||
The name of the package.
|
||||
"""
|
||||
package_name = "comfyui"
|
||||
package_name = "comfy"
|
||||
|
||||
"""
|
||||
The current version.
|
||||
@ -156,7 +156,7 @@ package_data = ['sd1_tokenizer/*', '**/*.json', '**/*.yaml']
|
||||
if not is_editable:
|
||||
package_data.append('web/**/*')
|
||||
setup(
|
||||
# "comfyui"
|
||||
# "comfy"
|
||||
name=package_name,
|
||||
description="",
|
||||
author="",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user