From 4a3adcd46a430350e5e30e2f8b7331f07abb05d9 Mon Sep 17 00:00:00 2001 From: ktyl Date: Thu, 15 Dec 2022 21:51:46 +0000 Subject: [PATCH] fix bad string --- blogs/2022/12/15/stable-diffusion.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blogs/2022/12/15/stable-diffusion.md b/blogs/2022/12/15/stable-diffusion.md index feb34c9..543302c 100644 --- a/blogs/2022/12/15/stable-diffusion.md +++ b/blogs/2022/12/15/stable-diffusion.md @@ -114,7 +114,7 @@ prompt = " ".join(sys.argv[1:]) While we're at it, we can also base the filename on the input prompt: ```python -image.save(f"{prompt.replace(" ", "_")}.png") +image.save(f'{prompt.replace(" ", "_")}.png') ``` ## Wrapping up