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:
@@ -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]
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user