1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Update README.md: IMAGIC example code snippet misspelling (#1346)

Update README.md

Minor spelling mistake.
This commit is contained in:
Ki
2022-11-21 06:56:57 +13:00
committed by GitHub
parent 7bbbfbfd18
commit 44efcbda0a

View File

@@ -370,7 +370,7 @@ def dummy(images, **kwargs):
pipe.safety_checker = dummy
images = []
generator = th.Generator("cuda").manual_seed(0)
generator = torch.Generator("cuda").manual_seed(0)
seed = 0
prompt = "a forest | a camel"
@@ -652,4 +652,4 @@ prompt = "a cup" # the masked out region will be replaced with this
with autocast("cuda"):
image = pipe(image=image, text=text, prompt=prompt).images[0]
```
```