Skip to content

Commit

Permalink
rm print
Browse files Browse the repository at this point in the history
  • Loading branch information
ljleb committed Aug 31, 2023
1 parent 71b6b6a commit 89a40f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions lib_comfyui/webui/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def sample_img2img_hijack(p, x, *args, original_function, **kwargs):
):
return original_function(p, x, *args, **kwargs)

print('preprocess_latent')
processed_x = external_code.run_workflow(
workflow_type=default_workflow_types.preprocess_latent_workflow_type,
tab='img2img',
Expand Down Expand Up @@ -108,7 +107,6 @@ def p_sample_patch(*args, original_function, is_img2img, **kwargs):
if not external_code.is_workflow_type_enabled(default_workflow_types.postprocess_latent_workflow_type.get_ids(tab)[0]):
return x

print('postprocess_latent')
processed_x = external_code.run_workflow(
workflow_type=default_workflow_types.postprocess_latent_workflow_type,
tab=tab,
Expand All @@ -123,7 +121,6 @@ def p_img2img_init(*args, original_function, p_ref, **kwargs):
if not external_code.is_workflow_type_enabled(default_workflow_types.preprocess_workflow_type.get_ids("img2img")[0]):
return original_function(*args, **kwargs)

print('preprocess')
processed_images = external_code.run_workflow(
workflow_type=default_workflow_types.preprocess_workflow_type,
tab='img2img',
Expand Down
1 change: 0 additions & 1 deletion scripts/comfyui.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def postprocess_batch_list(self, p, pp, *args, **kwargs):

all_results = []
p_rescale_factor = 0
print('postprocess')
for batch_input in extract_contiguous_buckets(pp.images, p.batch_size):
batch_results = external_code.run_workflow(
workflow_type=default_workflow_types.postprocess_workflow_type,
Expand Down

0 comments on commit 89a40f7

Please sign in to comment.