Text-to-Speech
Fairseq
English
audio
patrickvonplaten commited on
Commit
8798153
1 Parent(s): 502549a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -3,8 +3,9 @@
3
  The following should work with fairseq's most up-to-date version in a google colab:
4
 
5
  ```python
6
- from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf
7
  import IPython.display as ipd
 
8
 
9
  model_ensemble, cfg, task = load_model_ensemble_and_task_from_hf_hub(
10
  "facebook/fastspeech2-en-ljspeech", arg_overrides={"vocoder": "griffin_lim", "fp16": False}
 
3
  The following should work with fairseq's most up-to-date version in a google colab:
4
 
5
  ```python
6
+ from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub
7
  import IPython.display as ipd
8
+ import torch
9
 
10
  model_ensemble, cfg, task = load_model_ensemble_and_task_from_hf_hub(
11
  "facebook/fastspeech2-en-ljspeech", arg_overrides={"vocoder": "griffin_lim", "fp16": False}