On 18/01/26 23:29, Arian Ott wrote:
On Sun, 18 Jan 2026 at 23:12, Gioele Barabucci <[email protected]> wrote:
With a little patching (adding an empty `downloader` function to each
model class) it should be possible to even disable the automatic
download. (I'm happy to do the patching, if needed.)
While patching could work, we would modify upstream code significantly.
Disabling the downloading can be done with tiny 1-line patches, one
patch for each model. The code that deals with the model files is
(currently) very simple.
IMHO if rembg has a command where the user can explicitly download a
model, it could work.
Yes, `rembg d` (undocumented, but it works fine).
Regards,
--
Gioele Barabucci