Skip to content

Commit

Permalink
Rename utils.py to be compatible with ComfyUI in embeddable python env
Browse files Browse the repository at this point in the history
  • Loading branch information
mschuettlerTNG committed Nov 21, 2024
1 parent af8c489 commit 98c55b2
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion service/model_download_adpater.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from psutil._common import bytes2human
from model_downloader import HFPlaygroundDownloader
import realesrgan
import utils
import aipg_utils as utils


class Model_Downloader_Adapter:
Expand Down
2 changes: 1 addition & 1 deletion service/model_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from exceptions import DownloadException
import traceback
import concurrent.futures
import utils
import aipg_utils as utils

model_list_cache = dict()
model_lock = Lock()
Expand Down
2 changes: 1 addition & 1 deletion service/paint_biz.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import random
import time
from typing import Any, Callable, Dict, List
import utils
import aipg_utils as utils
import model_config
import inpaint_utils
from diffusers import (
Expand Down
2 changes: 1 addition & 1 deletion service/rag.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import time
import os
import re
import utils
import aipg_utils as utils
import model_config
from langchain_core.embeddings import Embeddings
from langchain.text_splitter import RecursiveCharacterTextSplitter
Expand Down
2 changes: 1 addition & 1 deletion service/sd_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from psutil._common import bytes2human
from PIL import Image
import os
import utils
import aipg_utils as utils


class SD_SSE_Adapter:
Expand Down
2 changes: 1 addition & 1 deletion service/web_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
)
import paint_biz
import llm_biz
import utils
import aipg_utils as utils
import rag
import model_config
from model_downloader import HFPlaygroundDownloader
Expand Down

0 comments on commit 98c55b2

Please sign in to comment.