Add legal disclaimer, fix attribution, expand credits

- Add disclaimer section to README (research/education purposes)
- Remove incorrect Apache-2.0 license claim from ctrlregen docstrings
- Expand Credits with CtrlRegen and NeuralBleach attribution
- Add license info (MIT) for GeminiWatermarkTool and NeuralBleach
This commit is contained in:
test-user
2026-03-25 11:23:28 -07:00
parent e5d8970add
commit d7614a7b45
6 changed files with 21 additions and 7 deletions
@@ -8,7 +8,7 @@ and a DINOv2-based IP Adapter for semantic guidance to regenerate
watermarked images from partially noised latents.
Attribution:
Based on https://github.com/yepengliu/CtrlRegen (Apache-2.0).
Based on https://github.com/yepengliu/CtrlRegen .
"""
from __future__ import annotations
@@ -5,7 +5,7 @@ color shifts. This module uses histogram-based color transfer to
align the regenerated image's color distribution back to the original.
Attribution:
Adapted from https://github.com/yepengliu/CtrlRegen (Apache-2.0).
Adapted from https://github.com/yepengliu/CtrlRegen .
"""
from __future__ import annotations
@@ -5,7 +5,7 @@ canny edges) and a DINOv2-based IP Adapter (semantic control), then
runs controllable regeneration with optional color matching.
Attribution:
Based on https://github.com/yepengliu/CtrlRegen (Apache-2.0).
Based on https://github.com/yepengliu/CtrlRegen .
"""
from __future__ import annotations
@@ -6,7 +6,7 @@ semantic features. This mixin provides ``load_ctrlregen_ip_adapter``
which handles the custom weight format and encoder swap.
Attribution:
Adapted from https://github.com/yepengliu/CtrlRegen (Apache-2.0).
Adapted from https://github.com/yepengliu/CtrlRegen .
"""
from __future__ import annotations
@@ -12,7 +12,7 @@ default implementation then uses ``hidden_states[-2]`` from DINOv2,
which is exactly what the projection was trained on.
Attribution:
Adapted from https://github.com/yepengliu/CtrlRegen (Apache-2.0).
Adapted from https://github.com/yepengliu/CtrlRegen .
"""
from __future__ import annotations