Skip to content

Commit b374ea0

Browse files
committed
Update download_weights.py
1 parent ad34274 commit b374ea0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

script/download_weights.py

100644100755
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
#!/usr/bin/env python
12
# Run this before you deploy it on replicate, because if you don't
23
# whenever you run the model, it will download the weights from the
34
# internet, which will take a long time.
45

56
import torch
67
from diffusers import AutoencoderKL, DiffusionPipeline
78
from diffusers.pipelines.stable_diffusion.safety_checker import (
8-
StableDiffusionSafetyChecker,
9+
StableDiffusionSafetyChecker
910
)
1011

1112
# pipe = DiffusionPipeline.from_pretrained(

0 commit comments

Comments
 (0)