MangoLion / bgbye

FOSS Image background remover with 10 open source rmbg models
https://bgbye.fyrean.com
268 stars 35 forks source link

BGBye

Installation

Prerequisites

Steps

  1. Clone the repository:

    git clone https://github.com/MangoLion/bgbye
    cd bgbye
  2. Install dependencies:

    npm install
  3. Set up the server:

    npm run setup-server

    Make sure to restart your terminal after!

AMD GPU

Goto ./server/setp.sh and replace the index url with --index-url https://download.pytorch.org/whl/rocm6.0

Do this before calling npm run setup-server

Diagnosis

Running the App

To start both the web app and server, run:

npm start

Moar notes

I'm so sorry this is using the long dead create-react-app template! Was setting up Cloudflare Pages for the first time and their tutorial installed CRA 💀

I'll move this stuff to Vite later