mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
PaddleOCR prints download/init messages to stdout which corrupts the JSON result that the bridge expects. Same risk with basicsr/realesrgan. Applied the same fd-level stdout redirect pattern already used in remove_bg.py: redirect fd 1 to stderr during ML work, restore for the JSON result. Also added show_log=False to PaddleOCR constructor.