From 801c43bedae12ec3053365f3078863f77d5ac632 Mon Sep 17 00:00:00 2001 From: apolinario Date: Tue, 16 Aug 2022 21:04:49 +0200 Subject: [PATCH] Match params with official Stable Diffusion lib https://github.com/CompVis/stable-diffusion --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dec281a75804..01fff34a3b41 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ pipe = StableDiffusionPipeline.from_pretrained( prompt = "a photo of an astronaut riding a horse on mars" with autocast("cuda"): - image = pipe(prompt, width=768, guidance_scale=7)["sample"][0] + image = pipe(prompt, width=512, guidance_scale=7.5)["sample"][0] image.save("astronaut_rides_horse.png") ```