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
4fbf8c81
"cacheflow/git@developer.sourcefind.cn:norm/vllm.git" did not exist on "7b6844e59044309b1c4014b02b95428018bfd8a5"
Commit
4fbf8c81
authored
Jun 22, 2022
by
Patrick von Platen
Browse files
Merge branch 'main' of
https://github.com/huggingface/diffusers
parents
0244e2af
6e456b7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
4fbf8c81
...
@@ -253,12 +253,12 @@ image_pil.save("test.png")
...
@@ -253,12 +253,12 @@ image_pil.save("test.png")
```
python
```
python
import
torch
import
torch
from
diffusers
import
BDDMPipeline
,
GradTTS
from
diffusers
import
BDDMPipeline
,
GradTTS
Pipeline
torch_device
=
"cuda"
torch_device
=
"cuda"
# load grad tts and bddm pipelines
# load grad tts and bddm pipelines
grad_tts
=
GradTTS
.
from_pretrained
(
"fusing/grad-tts-libri-tts"
)
grad_tts
=
GradTTS
Pipeline
.
from_pretrained
(
"fusing/grad-tts-libri-tts"
)
bddm
=
BDDMPipeline
.
from_pretrained
(
"fusing/diffwave-vocoder-ljspeech"
)
bddm
=
BDDMPipeline
.
from_pretrained
(
"fusing/diffwave-vocoder-ljspeech"
)
text
=
"Hello world, I missed you so much."
text
=
"Hello world, I missed you so much."
...
...
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