Any files need updating for 1.5? #3313
Unanswered
SingingTurnip
asked this question in
Q&A
Replies: 1 comment
-
It installs the requirements when you run the bat file, you don't need to update anything yourself other than the repo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Do any files need to be updated manually such as k-diffusers and if so where or is it going to be done automatically for us via git pull?
The reason I am asking is because on the 1.5 hugging face site it states the following changes for diffusers:
`from diffusers import StableDiffusionInpaintPipeline
pipe = StableDiffusionInpaintPipeline.from_pretrained(
"runwayml/stable-diffusion-inpainting",
revision="fp16",
torch_dtype=torch.float16,
)
prompt = "Face of a yellow cat, high resolution, sitting on a park bench"
#image and mask_image should be PIL images.
#The mask structure is white for inpainting and black for keeping as is
image = pipe(prompt=prompt, image=image, mask_image=mask_image).images[0]
image.save("./yellow_cat_on_park_bench.png")`
I want to make sure, and I guess everyone else here too wants to get the most out of this new version.
Beta Was this translation helpful? Give feedback.
All reactions