sail-sg / EditAnything

Edit anything in images powered by segment-anything, ControlNet, StableDiffusion, etc. (ACM MM)
Apache License 2.0
3.24k stars 184 forks source link

huggingface demo has an error #22

Open AItechnology opened 1 year ago

AItechnology commented 1 year ago

it has an error when I want to try its inpinting https://huggingface.co/spaces/shgao/EditAnything

gasvn commented 1 year ago

Can you give me more details? I didn't find the error you mentioned. Thanks!

AItechnology commented 1 year ago

when I input image, mask, and prompt, I got an error when I submit this task, it has no error a week ago, maybe the reason is that you update the sam2edit.py recently

AItechnology commented 1 year ago

when I input image, mask, and prompt, I got an error when I submit this task, it has no error a week ago, maybe the reason is that you update the sam2edit.py recently

gasvn commented 1 year ago

Can you give me a screenshot of how you use the demo?

AItechnology commented 1 year ago
image
gasvn commented 1 year ago

Can you give me these two pictures? I cannot reproduce this error on my side using my image and mask.

AItechnology commented 1 year ago

1 cup

gasvn commented 1 year ago

Can you please test on the gradio demo again? Maybe the error is caused by the network instability. I tried your image and mask on the demo site, and it works.

AItechnology commented 1 year ago

OK, I will try again, but the demo has an error now https://huggingface.co/spaces/shgao/EditAnything

gasvn commented 1 year ago

The demo is back online now. Sorry for the inconvenience

AItechnology commented 1 year ago

I had seen it this afternoon, and I would like to make a suggestion, you can add a user prompt instead of merging them into a positive prompt