rembg/_build-exe.ps1
2024-01-31 16:17:26 -03:00

10 lines
286 B
PowerShell
Executable File

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