divakaivan commited on
Commit
fd82718
·
verified ·
1 Parent(s): ff0047d

use glaswegian model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import torch
6
  from transformers import SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5HifiGan
7
 
8
 
9
- checkpoint = "microsoft/speecht5_tts"
10
  processor = SpeechT5Processor.from_pretrained(checkpoint)
11
  model = SpeechT5ForTextToSpeech.from_pretrained(checkpoint)
12
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
 
6
  from transformers import SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5HifiGan
7
 
8
 
9
+ checkpoint = "divakaivan/glaswegian_tts"
10
  processor = SpeechT5Processor.from_pretrained(checkpoint)
11
  model = SpeechT5ForTextToSpeech.from_pretrained(checkpoint)
12
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")