Skip to content

Commit

Permalink
Fix link in welcome docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Acly committed Nov 13, 2024
1 parent 75e3c92 commit 72fe928
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions ai_diffusion/comfy_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from .image import Bounds, Extent, Image
from .resources import Arch, ControlMode
from .util import base_type_match
from .util import base_type_match, client_logger as log


class ComfyRunMode(Enum):
Expand Down Expand Up @@ -69,7 +69,10 @@ def import_graph(existing: dict, node_inputs: dict):
while queue:
id = queue.pop(0)
node = deepcopy(existing[id])
class_type = node.get("class_type", "missing custom node")
class_type = node.get("class_type")
if class_type is None:
log.warning(f"Workflow import: Node {id} is not installed, aborting.")
return w
if node_inputs and class_type not in node_inputs:
raise ValueError(
f"Workflow contains a node of type {class_type} which is not installed on the ComfyUI server."
Expand Down
2 changes: 1 addition & 1 deletion ai_diffusion/ui/diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def __init__(self, server: Server):

info = QLabel(
"<a href='https://www.interstice.cloud'>Interstice.cloud</a> | "
+ "<a href='https://https://github.com/Acly/krita-ai-diffusion'>GitHub Project</a> | "
+ "<a href='https://github.com/Acly/krita-ai-diffusion'>GitHub Project</a> | "
+ "<a href='https://discord.gg/pWyzHfHHhU'>Discord</a>",
self,
)
Expand Down

0 comments on commit 72fe928

Please sign in to comment.