Skip to content

webclient for the BGBye background removal web app

Notifications You must be signed in to change notification settings

iloveoss/background-remover

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BGBye

Installation

Prerequisites

  • Latest Node.js and npm
  • python3 and python3-pip
  • Windows users must use Windows Subsystem for Linux (WSL)

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!

Diagnosis

  • NPM takes forever to install? (WSL)
    • You probably didn't install npm on WSL, so its using npm on windows. Install npm on WSL first.
  • Internal server error 500 whenever submit an image/video
    • Could be CUDA issues, make sure your cuda GPU is visible (nvidia-smi)?
  • Internal server error 500 whenever submit a video, but image works
    • Check if ffmpeg is installed

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

About

webclient for the BGBye background removal web app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 48.9%
  • JavaScript 43.8%
  • HTML 2.9%
  • CSS 2.5%
  • Shell 1.9%