mirror of
https://github.com/D-Ogi/WatermarkRemover-AI.git
synced 2026-10-22 06:32:38 -05:00
- setup.sh: Detect macOS vs Linux, install PyTorch from main PyPI on macOS (MPS support), CUDA/CPU on Linux - requirements.txt: Pin opencv-python-headless<4.12.0 to fix numpy<2 conflict - .gitattributes: Ensure correct line endings (.sh=LF, .bat/.ps1=CRLF) Fixes #47 (macOS setup failure) Fixes #46 (numpy/opencv conflict) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
483 B
Plaintext
29 lines
483 B
Plaintext
# Auto detect text files and perform LF normalization
|
|
* text=auto
|
|
|
|
# Shell scripts must have LF endings (Unix/macOS)
|
|
*.sh text eol=lf
|
|
|
|
# Windows batch/powershell can have CRLF
|
|
*.bat text eol=crlf
|
|
*.ps1 text eol=crlf
|
|
|
|
# Python files - LF preferred
|
|
*.py text eol=lf
|
|
|
|
# Keep binary files as-is
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.mp4 binary
|
|
*.webm binary
|
|
*.mov binary
|
|
*.avi binary
|
|
*.mkv binary
|
|
*.pt binary
|
|
*.pth binary
|
|
*.ckpt binary
|
|
*.safetensors binary
|