1
0
Fork 0

fix controlnet segmentation string, add some source filter logging

This commit is contained in:
Sean Sube 2023-04-22 11:26:21 -05:00
parent 106b377a57
commit 348421dd6d
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
3 changed files with 3 additions and 1 deletions

View File

@ -348,6 +348,7 @@ def run_img2img_pipeline(
if source_filter is not None: if source_filter is not None:
f = get_source_filters().get(source_filter, None) f = get_source_filters().get(source_filter, None)
if f is not None: if f is not None:
logger.debug("running source filter: %s", f.__name__)
source = f(server, source) source = f(server, source)
pipe = load_pipeline( pipe = load_pipeline(

View File

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

View File

@ -121,7 +121,7 @@ export const I18N_STRINGS_EN = {
normal: 'Normal Map', normal: 'Normal Map',
openpose: 'OpenPose', openpose: 'OpenPose',
scribble: 'Scribble', scribble: 'Scribble',
segment: 'Image Segmentation', seg: 'Image Segmentation',
}, },
}, },
modelType: { modelType: {