lzyhha commited on
Commit
697b8fe
·
verified ·
1 Parent(s): d209d8c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -66,6 +66,9 @@ pip install -v -e .
66
  [![Huggingface VisualCloze](https://img.shields.io/static/v1?label=Demo&message=Huggingface%20Gradio&color=orange)](https://huggingface.co/spaces/VisualCloze/VisualCloze)
67
 
68
  Example with Depth-to-Image:
 
 
 
69
  ```python
70
  import torch
71
  from diffusers import VisualClozePipeline
@@ -111,7 +114,7 @@ image_result = pipe(
111
  num_inference_steps=30,
112
  max_sequence_length=512,
113
  generator=torch.Generator("cpu").manual_seed(0)
114
- ).images[0]
115
 
116
  # Save the resulting image
117
  image_result.save("visualcloze.png")
@@ -161,7 +164,7 @@ image_result = pipe(
161
  num_inference_steps=30,
162
  max_sequence_length=512,
163
  generator=torch.Generator("cpu").manual_seed(0)
164
- ).images[0]
165
 
166
  # Save the resulting image
167
  image_result.save("visualcloze.png")
 
66
  [![Huggingface VisualCloze](https://img.shields.io/static/v1?label=Demo&message=Huggingface%20Gradio&color=orange)](https://huggingface.co/spaces/VisualCloze/VisualCloze)
67
 
68
  Example with Depth-to-Image:
69
+
70
+ <img src="./visualcloze_diffusers_example_depthtoimage.jpg" width="30%" height="20%" alt="Example with Depth-to-Image"/>
71
+
72
  ```python
73
  import torch
74
  from diffusers import VisualClozePipeline
 
114
  num_inference_steps=30,
115
  max_sequence_length=512,
116
  generator=torch.Generator("cpu").manual_seed(0)
117
+ ).images[0][0]
118
 
119
  # Save the resulting image
120
  image_result.save("visualcloze.png")
 
164
  num_inference_steps=30,
165
  max_sequence_length=512,
166
  generator=torch.Generator("cpu").manual_seed(0)
167
+ ).images[0][0]
168
 
169
  # Save the resulting image
170
  image_result.save("visualcloze.png")