Skip to content

Commit

Permalink
Update docs/source/inference_tutorials/stable_diffusion.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Benayoun <michael@huggingface.co>
  • Loading branch information
JingyaHuang and michaelbenayoun committed Sep 18, 2024
1 parent cb11276 commit 1f15f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/inference_tutorials/stable_diffusion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ depth_image = Image.fromarray(image)

images = [openpose_image.resize((512, 512)), depth_image.resize((512, 512))]

# Inference
# 3. inference
pipe = NeuronStableDiffusionControlNetPipeline.from_pretrained(model_id)
pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
prompt = "a giant in a fantasy landscape, best quality"
Expand Down

0 comments on commit 1f15f79

Please sign in to comment.