Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
1093f9d6
Unverified
Commit
1093f9d6
authored
Nov 21, 2023
by
Steven Liu
Committed by
GitHub
Nov 21, 2023
Browse files
[docs] MusicLDM (#5854)
* fix * feedback
parent
81780882
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/pipelines/musicldm/pipeline_musicldm.py
src/diffusers/pipelines/musicldm/pipeline_musicldm.py
+1
-1
No files found.
src/diffusers/pipelines/musicldm/pipeline_musicldm.py
View file @
1093f9d6
...
@@ -51,7 +51,7 @@ EXAMPLE_DOC_STRING = """
...
@@ -51,7 +51,7 @@ EXAMPLE_DOC_STRING = """
>>> import torch
>>> import torch
>>> import scipy
>>> import scipy
>>> repo_id = "
cvssp/audioldm-s-full-v2
"
>>> repo_id = "
ucsd-reach/musicldm
"
>>> pipe = MusicLDMPipeline.from_pretrained(repo_id, torch_dtype=torch.float16)
>>> pipe = MusicLDMPipeline.from_pretrained(repo_id, torch_dtype=torch.float16)
>>> pipe = pipe.to("cuda")
>>> pipe = pipe.to("cuda")
...
...
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