fix controlnet segmentation string, add some source filter logging
This commit is contained in:
parent
106b377a57
commit
348421dd6d
|
@ -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(
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue