From 5f9109ad81305786694688453285d3adf9446d99 Mon Sep 17 00:00:00 2001 From: yiyixuxu Date: Wed, 26 Apr 2023 22:25:41 -1000 Subject: [PATCH] update notebook --- docs/source/en/quicktour.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/en/quicktour.mdx b/docs/source/en/quicktour.mdx index d494b79dccd5..2a2a5a3ad903 100644 --- a/docs/source/en/quicktour.mdx +++ b/docs/source/en/quicktour.mdx @@ -33,7 +33,7 @@ The quicktour is a simplified version of the introductory 🧨 Diffusers [notebo Before you begin, make sure you have all the necessary libraries installed: ```bash -pip install --upgrade diffusers accelerate transformers +!pip install --upgrade diffusers accelerate transformers ``` - [🤗 Accelerate](https://huggingface.co/docs/accelerate/index) speeds up model loading for inference and training. @@ -121,9 +121,9 @@ Save the image by calling `save`: You can also use the pipeline locally. The only difference is you need to download the weights first: -``` -git lfs install -git clone https://huggingface.co/runwayml/stable-diffusion-v1-5 +```bash +!git lfs install +!git clone https://huggingface.co/runwayml/stable-diffusion-v1-5 ``` Then load the saved weights into the pipeline: