Skip to content

Commit

Permalink
Merge branch 'hlky:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
EyeDeck committed Aug 25, 2022
2 parents 0ec5bd9 + 92661ba commit 85a905f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,7 @@ def check_prompt_length(prompt, comments):
comments.append(f"Warning: too many input tokens; some ({len(overflowing_words)}) have been truncated:\n{overflowing_text}\n")


def process_images(outpath, func_init, func_sample, prompt, seed, sampler_name, skip_grid, skip_save, batch_size, n_iter, steps, cfg_scale, width, height, prompt_matrix,
, fp, do_not_save_grid=False, normalize_prompt_weights=True, init_img=None, init_mask=None, keep_mask=True):
def process_images(outpath, func_init, func_sample, prompt, seed, sampler_name, skip_grid, skip_save, batch_size, n_iter, steps, cfg_scale, width, height, prompt_matrix, fp, do_not_save_grid=False, normalize_prompt_weights=True, init_img=None, init_mask=None, keep_mask=True):
"""this is the main loop that both txt2img and img2img use; it calls func_init once inside all the scopes and func_sample once per batch"""
assert prompt is not None
torch_gc()
Expand Down

0 comments on commit 85a905f

Please sign in to comment.