mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-15 14:31:44 +03:00
Merge pull request #1158 from cheald/fix-find-noise
Fix invalid invocation of find_noise_for_image
This commit is contained in:
commit
2eaccb7b24
@ -1367,7 +1367,7 @@ def process_images(
|
||||
|
||||
if noise_mode == 1 or noise_mode == 3:
|
||||
# TODO params for find_noise_to_image
|
||||
x = torch.cat(batch_size * [find_noise_for_image.find_noise_for_image(
|
||||
x = torch.cat(batch_size * [find_noise_for_image(
|
||||
st.session_state["model"], st.session_state["device"],
|
||||
init_img.convert('RGB'), '', find_noise_steps, 0.0, normalize=True,
|
||||
generation_callback=generation_callback,
|
||||
|
Loading…
Reference in New Issue
Block a user