mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-03 20:05:23 -05:00
fix(nodes): GraphInvocation should use InputField
This commit is contained in:
@@ -193,7 +193,7 @@ class GraphInvocation(BaseInvocation):
|
||||
"""Execute a graph"""
|
||||
|
||||
# TODO: figure out how to create a default here
|
||||
graph: "Graph" = Field(description="The graph to run", default=None)
|
||||
graph: Optional["Graph"] = InputField(description="The graph to run", default=None)
|
||||
|
||||
def invoke(self, context: InvocationContext) -> GraphInvocationOutput:
|
||||
"""Invoke with provided services and return outputs."""
|
||||
|
||||
Reference in New Issue
Block a user