Spaces:
Runtime error
Runtime error
update
Browse files- sam2edit_lora.py +1 -1
sam2edit_lora.py
CHANGED
@@ -502,7 +502,7 @@ class EditAnythingLoraModel:
|
|
502 |
results = [x_samples[i] for i in range(num_samples)]
|
503 |
|
504 |
if True:
|
505 |
-
img_tile = [PIL.Image.fromarray(resize_image(np.array(x_samples[i]),
|
506 |
# for each in img_tile:
|
507 |
# print("tile",each.size)
|
508 |
prompt_embeds, negative_prompt_embeds = get_pipeline_embeds(
|
|
|
502 |
results = [x_samples[i] for i in range(num_samples)]
|
503 |
|
504 |
if True:
|
505 |
+
img_tile = [PIL.Image.fromarray(resize_image(np.array(x_samples[i]), 768)) for i in range(num_samples)]
|
506 |
# for each in img_tile:
|
507 |
# print("tile",each.size)
|
508 |
prompt_embeds, negative_prompt_embeds = get_pipeline_embeds(
|