Skip to content

Commit 60ae554

Browse files
authored
Revert "fix: version bug resolve for ComfyUI blocked at 0.3.27 (#244)" (#259)
This reverts commit 064c4df.
1 parent 064c4df commit 60ae554

File tree

6 files changed

+9
-12
lines changed

6 files changed

+9
-12
lines changed

docker/Dockerfile.base

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RUN conda run -n comfystream pip install --no-cache-dir \
6464
${TensorRT_ROOT}/python/tensorrt-10.9.0.34-cp311-none-linux_x86_64.whl
6565

6666
# Clone ComfyUI
67-
RUN git clone --branch v0.3.39 --depth 1 https://github.com/comfyanonymous/ComfyUI.git /workspace/ComfyUI
67+
RUN git clone --branch v0.3.27 --depth 1 https://github.com/comfyanonymous/ComfyUI.git /workspace/ComfyUI
6868

6969
# Copy only files needed for setup
7070
COPY ./src/comfystream/scripts /workspace/comfystream/src/comfystream/scripts
@@ -105,7 +105,4 @@ RUN conda config --set auto_activate_base false && \
105105
# Set comfystream environment as default
106106
RUN echo "conda activate comfystream" >> ~/.bashrc
107107

108-
# Set /workspace/ComfyUI to PYTHONPATH
109-
RUN echo "export PYTHONPATH=/workspace/ComfyUI" >> ~/.bashrc
110-
111108
WORKDIR /workspace/comfystream

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version = "0.1.2"
99
license = { file = "LICENSE" }
1010
dependencies = [
1111
"asyncio",
12-
"comfyui @ git+https://github.com/livepeer/ComfyUI.git@6a39b5b016cc108cbc5dda2fd4b32a51161ab150",
12+
"comfyui @ git+https://github.com/hiddenswitch/ComfyUI.git@ce3583ad42c024b8f060d0002cbe20c265da6dc8",
1313
"aiortc",
1414
"aiohttp",
1515
"aiohttp_cors",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
asyncio
2-
comfyui @ git+https://github.com/livepeer/ComfyUI.git@6a39b5b016cc108cbc5dda2fd4b32a51161ab150
2+
comfyui @ git+https://github.com/hiddenswitch/ComfyUI.git@ce3583ad42c024b8f060d0002cbe20c265da6dc8
33
aiortc
44
aiohttp
55
aiohttp_cors

src/comfystream/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
from comfystream import tensor_cache
66
from comfystream.utils import convert_prompt
77

8-
from hiddenswitch_comfy.api.components.schema.prompt import PromptDictInput
9-
from hiddenswitch_comfy.cli_args_types import Configuration
10-
from hiddenswitch_comfy.client.embedded_comfy_client import EmbeddedComfyClient
8+
from comfy.api.components.schema.prompt import PromptDictInput
9+
from comfy.cli_args_types import Configuration
10+
from comfy.client.embedded_comfy_client import EmbeddedComfyClient
1111

1212
logger = logging.getLogger(__name__)
1313

@@ -114,7 +114,7 @@ async def get_available_nodes(self):
114114
return {}
115115

116116
try:
117-
from hiddenswitch_comfy.nodes.package import import_all_nodes_in_workspace
117+
from comfy.nodes.package import import_all_nodes_in_workspace
118118
nodes = import_all_nodes_in_workspace()
119119

120120
all_prompts_nodes_info = {}

src/comfystream/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import copy
22

33
from typing import Dict, Any
4-
from hiddenswitch_comfy.api.components.schema.prompt import Prompt, PromptDictInput
4+
from comfy.api.components.schema.prompt import Prompt, PromptDictInput
55

66

77
def create_load_tensor_node():

test/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22

3-
from hiddenswitch_comfy.api.components.schema.prompt import Prompt
3+
from comfy.api.components.schema.prompt import Prompt
44
from comfystream.utils import convert_prompt
55

66

0 commit comments

Comments
 (0)