• SkyeStarfall@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      15
      ·
      9 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
        link
        fedilink
        arrow-up
        3
        ·
        9 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