425
you are viewing a single comment's thread
view the rest of the comments
[-] johannesvanderwhales@lemmy.world 25 points 5 months ago

Remove seems like a terrible name for that method.

[-] SkyeStarfall@lemmy.blahaj.zone 16 points 5 months ago

While yes, the true issue here is that, for some reason, the code only imports the remove method from the package, instead of importing the package and doing rembg.remove().

[-] trashgirlfriend@lemmy.world 3 points 5 months ago

if you only wanted to import remove you could maybe import as rembg_remove

unless there's some weird taboo against doing that I don't know about, I'm an awful programmer tbh

this post was submitted on 03 Apr 2024
425 points (89.1% liked)

Programmer Humor

32050 readers
1576 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS