Update README.md
Browse files
README.md
CHANGED
@@ -7,9 +7,15 @@ pipeline_tag: image-to-image
|
|
7 |
|
8 |
These are the model weights for [EraseDraw](https://erasedraw.cs.columbia.edu).
|
9 |
|
|
|
|
|
10 |
To use this model, install diffusers using main for now. The API is the same as that of InstructPix2Pix
|
11 |
|
|
|
12 |
pip install diffusers accelerate safetensors transformers
|
|
|
|
|
|
|
13 |
import PIL
|
14 |
import requests
|
15 |
import torch
|
@@ -31,6 +37,7 @@ image = download_image(url)
|
|
31 |
prompt = "add sunglasses"
|
32 |
images = pipe(prompt, image=image, num_inference_steps=10, image_guidance_scale=1).images
|
33 |
images[0]
|
|
|
34 |
|
35 |
|
36 |
-
Code and data are coming soon to GitHub.
|
|
|
7 |
|
8 |
These are the model weights for [EraseDraw](https://erasedraw.cs.columbia.edu).
|
9 |
|
10 |
+
<img src="https://erasedraw.cs.columbia.edu/static/img/samples_overview.png" alt="Sample Overview">
|
11 |
+
|
12 |
To use this model, install diffusers using main for now. The API is the same as that of InstructPix2Pix
|
13 |
|
14 |
+
```
|
15 |
pip install diffusers accelerate safetensors transformers
|
16 |
+
```
|
17 |
+
|
18 |
+
```
|
19 |
import PIL
|
20 |
import requests
|
21 |
import torch
|
|
|
37 |
prompt = "add sunglasses"
|
38 |
images = pipe(prompt, image=image, num_inference_steps=10, image_guidance_scale=1).images
|
39 |
images[0]
|
40 |
+
```
|
41 |
|
42 |
|
43 |
+
Code and data are coming soon to GitHub (find link on [website](https://erasedraw.cs.columbia.edu)) .
|