mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes img2img sampler metadata hardcoded to ddim
This commit is contained in:
parent
483097f31c
commit
87cb35f5da
@ -797,9 +797,6 @@ class InvokeAIWebServer:
|
||||
rfc_dict['init_image_path'] = parameters[
|
||||
'init_img'
|
||||
] # TODO: Noncompliant
|
||||
rfc_dict[
|
||||
'sampler'
|
||||
] = 'ddim' # TODO: FIX ME WHEN IMG2IMG SUPPORTS ALL SAMPLERS
|
||||
if 'init_mask' in parameters:
|
||||
rfc_dict['mask_hash'] = calculate_init_img_hash(
|
||||
self.get_image_path_from_url(parameters['init_mask'])
|
||||
|
Loading…
Reference in New Issue
Block a user