News for hackers. Stuff that matters.
Re:Stable Diffusion Text-Prompt-Based Inpainting – Replace H... by bryced on Monday September 19, 2022 @05:45PM (#32904474)
This python library does the same thing (but didn't get traction when I posted it yesterday):

https://github.com/brycedrennan/imaginAIry#automated-replace...

https://news.ycombinator.com/item?id=32887385

And I got the idea from here:

https://github.com/ThereforeGames/txt2mask

Which is using the model here:

https://github.com/timojl/clipseg

Clipseg is doing the hard part!

Re:Stable Diffusion Text-Prompt-Based Inpainting – Replace H... by stavros on Monday September 19, 2022 @05:57PM (#32904639)
This looks great! I've been looking for a Python library to use with Phantasmagoria[1] for ages, but everyone is doing web UIs. You even packaged it up in a Docker container, very nice, thank you!

[1]: https://phantasmagoria.stavros.io

Re:Stable Diffusion Text-Prompt-Based Inpainting – Replace H... by em_ on Wednesday September 21, 2022 @01:49PM (#32928642)
Thanks for the link. I created a quick Colab Notebook for those without sufficient hardware: https://colab.research.google.com/drive/1J4yeGLk2MRXrD5lOoS5...
Re:Stable Diffusion Text-Prompt-Based Inpainting – Replace H... by bryced on Thursday September 22, 2022 @01:50AM (#32935170)
oh that's great - thank you!
Re:Stable Diffusion Text-Prompt-Based Inpainting – Replace H... by amrrs on Tuesday September 20, 2022 @12:11AM (#32907572)
This is so cool. Everything in one command, Thanks for sharing. How are you serving the model? I couldn't see it on the Github repo.
Re:Stable Diffusion Text-Prompt-Based Inpainting – Replace H... by bryced on Tuesday September 20, 2022 @02:22AM (#32908336)
For code that doesn't have good pypi packaging I vendor it using scripts in the makefile