--- title: IC Light emoji: 🐢 colorFrom: yellow colorTo: red sdk: gradio sdk_version: 4.44.1 app_file: app.py pinned: false license: other suggested_hardware: zero-a10g --- # IC-Light Relighting This Space replaces the previous `EXEC` environment-variable stub with a real Gradio app and a ZeroGPU-decorated inference function. The implementation is based on the public `lllyasviel/ic-light` SD1.5 foreground-conditioned IC-Light model: - code reference: https://github.com/lllyasviel/IC-Light - weights: https://huggingface.co/lllyasviel/ic-light - model file used here: `iclight_sd15_fc.safetensors` ## V2-Vary provenance `lllyasviel` announced IC-Light V2-Vary in GitHub discussion #109 as an alternative model for stronger illumination variations: https://github.com/lllyasviel/IC-Light/discussions/109 The linked official Space is: https://huggingface.co/spaces/lllyasviel/iclight-v2-vary As of this repo update, that Space's public git tree contains only: ```python import os; exec(os.getenv('EXEC')) ``` The public `lllyasviel/ic-light` model repository only exposes the SD1.5 IC-Light weights, not Flux/V2-Vary weights. Because the V2-Vary app source and weights are not public in the Space git tree or the public model repo, this Space uses the available upstream IC-Light integration rather than preserving the unsafe hidden-exec stub.