mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
feat: add disclaimer + skipping, stage2 won't properly work when used with inpaint or outpaint
This commit is contained in:
@@ -18,7 +18,7 @@ sam_options = SAMOptions(
|
||||
model_type='vit_b'
|
||||
)
|
||||
|
||||
mask_image = generate_mask_from_image(image, sam_options=sam_options)
|
||||
mask_image, _, _, _ = generate_mask_from_image(image, sam_options=sam_options)
|
||||
|
||||
merged_masks_img = Image.fromarray(mask_image)
|
||||
merged_masks_img.show()
|
||||
|
||||
Reference in New Issue
Block a user