nazemi
commited on
Update tts.py
Browse files
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("
|
| 7 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
| 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:
|