nazemi commited on
Commit
6cb23d5
·
verified ·
1 Parent(s): 9cc385f

Update tts.py

Browse files
Files changed (1) hide show
  1. tts.py +2 -2
tts.py CHANGED
@@ -3,8 +3,8 @@ import torch
3
  import numpy as np
4
  from scipy.io.wavfile import write
5
 
6
- model = VitsModel.from_pretrained("tts_hindi")
7
- tokenizer = AutoTokenizer.from_pretrained("tts_hindi")
8
 
9
  i = 1
10
  with open('transcription.txt', 'r', encoding='utf-8') as file:
 
3
  import numpy as np
4
  from scipy.io.wavfile import write
5
 
6
+ model = VitsModel.from_pretrained("hindi-tts")
7
+ tokenizer = AutoTokenizer.from_pretrained("hindi-tts")
8
 
9
  i = 1
10
  with open('transcription.txt', 'r', encoding='utf-8') as file: