Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PladsElsker committed Nov 19, 2023
1 parent 4d2cc66 commit 95dacbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib_comfyui/comfyui/iframe_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ def clear_queue(queue: multiprocessing.Queue):
pass


class TooManyFromWebuiNodesError(ValueError):
class TooManyFromWebuiNodesError(RuntimeError):
pass


class TooManyToWebuiNodesError(ValueError):
class TooManyToWebuiNodesError(RuntimeError):
pass
2 changes: 1 addition & 1 deletion lib_comfyui/external_code/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def run_workflow(
- if **input_types** is a str, **batch_input** should be a single value that should match the type expected by **input_types**.
queue_front (Optional[bool]): Whether to queue the workflow before or after the currently queued workflows
identity_on_error (Optional[bool]): Whether to return batch_input (converted to the type expected by workflow_type.types) instead of raising a RuntimeError when the workflow fails to run
max_amount_of_nodes: (Optional[Sequence[int]]): Maximum amount of From Webui and To Webui nodes present in the workflow, respectively. If either of the conditions are not met, a RuntimeError is raised.
max_amount_of_nodes: (Optional[Sequence[int]]): Maximum amount of From Webui and To Webui nodes present in the workflow, respectively. If either of the conditions are not met, a RuntimeError is raised
Returns:
The outputs of the workflow, as a list.
Each element of the list corresponds to one output node in the workflow.
Expand Down

0 comments on commit 95dacbe

Please sign in to comment.