Fix broken API (#530)

pull/554/head
Raziel619 2024-05-31 01:57:24 -04:00 committed by GitHub
parent 0434d99284
commit 69a2395ec5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 3 deletions

View File

@ -57,6 +57,9 @@ class AnimateDiffProcess:
latent_power_last=1,
latent_scale_last=32,
request_id = '',
is_i2i_batch=False,
video_default=False,
prompt_scheduler=None,
):
self.model = model
self.enable = enable
@ -86,9 +89,9 @@ class AnimateDiffProcess:
# non-ui states
self.request_id = request_id
self.video_default = False
self.is_i2i_batch = False
self.prompt_scheduler = None
self.video_default = video_default
self.is_i2i_batch = is_i2i_batch
self.prompt_scheduler = prompt_scheduler
def get_list(self, is_img2img: bool):