Commit 4fbf8c81 authored by Patrick von Platen's avatar Patrick von Platen
Browse files
parents 0244e2af 6e456b7a
...@@ -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, GradTTSPipeline
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 = GradTTSPipeline.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."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment