yuqwu / Replace-Anything

A simple web application that lets you replace any part of an image with an image generated based on your description.
114 stars 14 forks source link

how to use the web application? #2

Closed LiuCMU closed 1 year ago

LiuCMU commented 1 year ago

Hi, I got the follwoing webpabe after running bentoml serve. This interface is different that the cartoon in the ReadMe. Could you telll me how to try out the replace function?

image
LiuCMU commented 1 year ago

Here is a little followup on the questin. After uploading the penguin iamge (attached) to the inpaint API, I got the following response: What does the response mean? Thank you very much!

image

pengui

yuqwu commented 1 year ago

@LiuCMU You can access the WebUI through the /interface endpoint. The root / path is the Swagger debugging page provided by BentoML. I will update the README to clarify the WebUI path.

LiuCMU commented 1 year ago

sorry, I didn't get it. Could you explain how I adjust the command bentoml serve to use the /interface endpoint as you mentioned above? thanks!

ssheng commented 1 year ago

No, you won't need to modify the serve command but visit http://0.0.0.0:3000/interface instead.

LiuCMU commented 1 year ago

what works, thank you very much!