Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
49609768
Commit
49609768
authored
Mar 30, 2023
by
Patrick von Platen
Browse files
make style
parent
9062b284
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
scripts/convert_original_stable_diffusion_to_diffusers.py
scripts/convert_original_stable_diffusion_to_diffusers.py
+2
-1
No files found.
scripts/convert_original_stable_diffusion_to_diffusers.py
View file @
49609768
...
@@ -14,9 +14,10 @@
...
@@ -14,9 +14,10 @@
# limitations under the License.
# limitations under the License.
""" Conversion script for the LDM checkpoints. """
""" Conversion script for the LDM checkpoints. """
import
torch
import
argparse
import
argparse
import
torch
from
diffusers.pipelines.stable_diffusion.convert_from_ckpt
import
download_from_original_stable_diffusion_ckpt
from
diffusers.pipelines.stable_diffusion.convert_from_ckpt
import
download_from_original_stable_diffusion_ckpt
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment