1
0
Fork 0

apply lint

This commit is contained in:
Sean Sube 2023-04-22 12:28:46 -05:00
parent e283b2770a
commit 5f5b01fed0
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
2 changed files with 6 additions and 2 deletions

View File

@ -49,7 +49,9 @@ def blend_textual_inversions(
logger.debug("detected Textual Inversion concept: %s", keys)
inversion_format = "concept"
elif "emb_params" in keys:
logger.debug("detected Textual Inversion parameter embeddings: %s", keys)
logger.debug(
"detected Textual Inversion parameter embeddings: %s", keys
)
inversion_format = "parameters"
elif "string_to_token" in keys and "string_to_param" in keys:
logger.debug("detected Textual Inversion token embeddings: %s", keys)

View File

@ -179,7 +179,9 @@ def img2img(server: ServerContext, pool: DevicePoolExecutor):
output_count = params.batch
if source_filter is not None and source_filter != "none":
logger.debug("including filtered source with outputs, filter: %s", source_filter)
logger.debug(
"including filtered source with outputs, filter: %s", source_filter
)
output_count += 1
output = make_output_name(