mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
use right value for step arg in img_callback in decode()
This commit is contained in:
parent
7c6dbcb14a
commit
1ab09e7a06
@ -346,7 +346,7 @@ class Sampler(object):
|
||||
|
||||
x_dec, pred_x0, e_t = outs
|
||||
if img_callback:
|
||||
img_callback(x_dec)
|
||||
img_callback(x_dec,i)
|
||||
|
||||
return x_dec
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user