File size: 767 Bytes
8f78170
 
a06a968
 
8f78170
 
a06a968
8f78170
a06a968
8f78170
a06a968
8f78170
a06a968
8f78170
a06a968
8f78170
a06a968
 
 
8f78170
a06a968
 
8f78170
a06a968
 
8f78170
a06a968
 
8f78170
a06a968
 
 
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
---
library_name: diffusers
pipeline_tag: image-to-image
license: apache-2.0
---

# Model Card for StableDelight

This repository contains the weights of StableDelight: Revealing Hidden Textures by Removing Specular Reflections.

## Usage

See the Github repository: https://github.com/Stable-X/StableDelight regarding installation instructions.

The model can then be used as follows:

```python
import torch
from PIL import Image

# Load an image
input_image = Image.open("path/to/your/image.jpg")

# Create predictor instance
predictor = torch.hub.load("Stable-X/StableDelight", "StableDelight_turbo", trust_repo=True)

# Apply the model to the image
delight_image = predictor(input_image)

# Save or display the result
delight_image.save("output/delight.png")
```