_build-exe.ps1 286 B

123456789
  1. # Install required packages
  2. pip install pyinstaller
  3. pip install -e ".[cli]"
  4. # Create PyInstaller spec file with specified data collections
  5. # pyi-makespec --collect-data=gradio_client --collect-data=gradio rembg.py
  6. # Run PyInstaller with the generated spec file
  7. pyinstaller rembg.spec