File size: 1,359 Bytes
ae87c0d
ef7e908
 
3901f61
 
ae87c0d
73bf647
ae87c0d
 
3901f61
2fc70fd
ae87c0d
 
2fc70fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ef7e908
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
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.