We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24b8b5c commit c1b6ea3Copy full SHA for c1b6ea3
docs/source/using-diffusers/img2img.mdx
@@ -15,6 +15,7 @@ specific language governing permissions and limitations under the License.
15
The [`StableDiffusionImg2ImgPipeline`] lets you pass a text prompt and an initial image to condition the generation of new images.
16
17
```python
18
+import torch
19
import requests
20
from PIL import Image
21
from io import BytesIO
0 commit comments