Skip to content

Commit c1b6ea3

Browse files
Update img2img.mdx
1 parent 24b8b5c commit c1b6ea3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/source/using-diffusers/img2img.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ specific language governing permissions and limitations under the License.
1515
The [`StableDiffusionImg2ImgPipeline`] lets you pass a text prompt and an initial image to condition the generation of new images.
1616

1717
```python
18+
import torch
1819
import requests
1920
from PIL import Image
2021
from io import BytesIO

0 commit comments

Comments
 (0)