(minor) Fix static checks and typo.

This commit is contained in:
Ryan Dick
2023-11-02 13:31:10 -04:00
committed by Kent Keirsey
parent 4a683cc669
commit 6e7a3f0546
2 changed files with 5 additions and 4 deletions

View File

@ -934,7 +934,8 @@ class ModelManager(object):
"""
Returns the preamble for the config file.
"""
return textwrap.dedent("""
return textwrap.dedent(
"""
# This file describes the alternative machine learning models
# available to InvokeAI script.
#
@ -942,7 +943,8 @@ class ModelManager(object):
# model requires a model config file, a weights file,
# and the width and height of the images it
# was trained on.
""")
"""
)
def scan_models_directory(
self,