Files
WatermarkRemover-AI/.gitattributes
unknownandClaude Opus 4.5 a3c0327ea7 Fix macOS/Linux setup: detect OS, install correct PyTorch version
- 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>
2025-12-12 22:50:19 +01:00

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