mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-06-10 12:53:56 +02:00
8ed2d16a23
The img2img run silently produced an identity output because DiffusionPipeline.from_pretrained refused to load the local custom_pipeline .py without `trust_remote_code=True` (emits a single-line warning to stderr, then falls back to a default class). load_ip_adapter_instantid then AttributeError'd, our outer except logged + skipped, and the saved file was the un-restored cleaned image (exact byte size match against the no-restore baseline -- 250988 bytes). We fetch the file from a pinned raw.githubusercontent URL we control, so trust_remote_code is safe to opt in here. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>