Update img2img.mdx

This commit is contained in:
Patrick von Platen
2022-10-12 00:52:30 +02:00
committed by GitHub
parent 24b8b5cf5e
commit c1b6ea3dce
+1
View File
@@ -15,6 +15,7 @@ specific language governing permissions and limitations under the License.
The [`StableDiffusionImg2ImgPipeline`] lets you pass a text prompt and an initial image to condition the generation of new images. The [`StableDiffusionImg2ImgPipeline`] lets you pass a text prompt and an initial image to condition the generation of new images.
```python ```python
import torch
import requests import requests
from PIL import Image from PIL import Image
from io import BytesIO from io import BytesIO