"tests/vscode:/vscode.git/clone" did not exist on "0a56d652230a68663e8855380df37a990b8a1a06"
Unverified Commit 81715661 authored by ruanrz's avatar ruanrz Committed by GitHub
Browse files

[Docs] improve img2img example (#1193)

update img2img example
parent 045157a4
......@@ -33,7 +33,7 @@ url = "https://raw.githubusercontent.com/CompVis/stable-diffusion/main/assets/st
response = requests.get(url)
init_image = Image.open(BytesIO(response.content)).convert("RGB")
init_image = init_image.resize((768, 512))
init_image.thumbnail((768, 768))
prompt = "A fantasy landscape, trending on artstation"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment