• SkyeStarfall
    link
    fedilink
    arrow-up
    16
    ·
    8 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
      ·
      8 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