mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
model_path was None, so the model had random weights and always fell back to Lanczos. Now loads RealESRGAN_x4plus.pth from /opt/models/realesrgan/ (configurable via REALESRGAN_MODEL_PATH env var). Only falls back to Lanczos on ImportError, not blanket Exception.