add support for controlnet & sdxl conversion - not fully working

This commit is contained in:
Lincoln Stein
2023-07-22 20:12:16 -04:00
parent 907ff165be
commit 5607794dbb
10 changed files with 1519 additions and 680 deletions

View File

@ -673,6 +673,7 @@ class ModelManager(object):
self.models[model_key] = model_config
self.commit()
return AddModelResult(
name = model_name,
model_type = model_type,
@ -840,7 +841,7 @@ class ModelManager(object):
Returns the preamble for the config file.
"""
return textwrap.dedent(
"""\
"""
# This file describes the alternative machine learning models
# available to InvokeAI script.
#