gitgato commited on
Commit
4cd884b
·
verified ·
1 Parent(s): cb4e037

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import torch
3
  from datasets import load_dataset
4
  from transformers import pipeline, SpeechT5Processor, SpeechT5HifiGan, SpeechT5ForTextToSpeech
5
 
6
- model_id = "gitgato/tr-tts" # update with your model id
7
  pipe = pipeline("text-to-speech", model="gitgato/tr-xtts")
8
  model = SpeechT5ForTextToSpeech.from_pretrained(model_id)
9
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
 
3
  from datasets import load_dataset
4
  from transformers import pipeline, SpeechT5Processor, SpeechT5HifiGan, SpeechT5ForTextToSpeech
5
 
6
+ model_id = "gitgato/tr-xtts" # update with your model id
7
  pipe = pipeline("text-to-speech", model="gitgato/tr-xtts")
8
  model = SpeechT5ForTextToSpeech.from_pretrained(model_id)
9
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")