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