feat(backend): allow/deny nodes - do not parse args again

This commit is contained in:
Eugene Brodsky 2023-09-06 15:34:34 -04:00 committed by Kent Keirsey
parent 7254a6a517
commit cc92ce3da5

View File

@ -473,7 +473,6 @@ class BaseInvocation(ABC, BaseModel):
@classmethod
def get_all_subclasses(cls):
app_config = InvokeAIAppConfig.get_config()
app_config.parse_args()
subclasses = []
toprocess = [cls]
while len(toprocess) > 0: