Matthijs Hollemans commited on
Commit
8f31428
β€’
1 Parent(s): 2b82728

change checkpoint

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,10 +5,10 @@ import torch
5
 
6
  from transformers import SpeechT5Processor, SpeechT5ForSpeechToSpeech, SpeechT5HifiGan
7
 
8
- checkpoint = "Matthijs/speecht5_vc"
9
  processor = SpeechT5Processor.from_pretrained(checkpoint)
10
  model = SpeechT5ForSpeechToSpeech.from_pretrained(checkpoint)
11
- vocoder = SpeechT5HifiGan.from_pretrained("Matthijs/speecht5_hifigan")
12
 
13
 
14
  speaker_embeddings = {
 
5
 
6
  from transformers import SpeechT5Processor, SpeechT5ForSpeechToSpeech, SpeechT5HifiGan
7
 
8
+ checkpoint = "microsoft/speecht5_vc"
9
  processor = SpeechT5Processor.from_pretrained(checkpoint)
10
  model = SpeechT5ForSpeechToSpeech.from_pretrained(checkpoint)
11
+ vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
12
 
13
 
14
  speaker_embeddings = {