Update README.md
Browse files
README.md
CHANGED
@@ -39,7 +39,7 @@ datasets:
|
|
39 |
|
40 |
**Indic Parler-TTS** is a multilingual Indic extension of [Parler-TTS Mini](https://huggingface.co/parler-tts/parler-tts-mini-v1.1).
|
41 |
|
42 |
-
It is a fine-tuned version of [Indic Parler-TTS Pretrained](https://huggingface.co/
|
43 |
|
44 |
**Indic Parler-TTS Mini** can officially speak in 20 Indic languages, making it comprehensive for regional language technologies, and in English. The **21 languages** supported are: Assamese, Bengali, Bodo, Dogri, English, Gujarati, Hindi, Kannada, Konkani, Maithili, Malayalam, Manipuri, Marathi, Nepali, Odia, Sanskrit, Santali, Sindhi, Tamil, Telugu, and Urdu.
|
45 |
|
@@ -117,8 +117,8 @@ import soundfile as sf
|
|
117 |
|
118 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
119 |
|
120 |
-
model = ParlerTTSForConditionalGeneration.from_pretrained("
|
121 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
122 |
description_tokenizer = AutoTokenizer.from_pretrained(model.config.text_encoder._name_or_path)
|
123 |
|
124 |
prompt = "Hey, how are you doing today?"
|
@@ -156,8 +156,8 @@ import soundfile as sf
|
|
156 |
|
157 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
158 |
|
159 |
-
model = ParlerTTSForConditionalGeneration.from_pretrained("
|
160 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
161 |
description_tokenizer = AutoTokenizer.from_pretrained(model.config.text_encoder._name_or_path)
|
162 |
|
163 |
prompt = "अरे, तुम आज कैसे हो?"
|
|
|
39 |
|
40 |
**Indic Parler-TTS** is a multilingual Indic extension of [Parler-TTS Mini](https://huggingface.co/parler-tts/parler-tts-mini-v1.1).
|
41 |
|
42 |
+
It is a fine-tuned version of [Indic Parler-TTS Pretrained](https://huggingface.co/ai4bharat/indic-parler-tts-pretrained), trained on a **1,806 hours** multilingual Indic and English dataset.
|
43 |
|
44 |
**Indic Parler-TTS Mini** can officially speak in 20 Indic languages, making it comprehensive for regional language technologies, and in English. The **21 languages** supported are: Assamese, Bengali, Bodo, Dogri, English, Gujarati, Hindi, Kannada, Konkani, Maithili, Malayalam, Manipuri, Marathi, Nepali, Odia, Sanskrit, Santali, Sindhi, Tamil, Telugu, and Urdu.
|
45 |
|
|
|
117 |
|
118 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
119 |
|
120 |
+
model = ParlerTTSForConditionalGeneration.from_pretrained("ai4bharat/indic-parler-tts").to(device)
|
121 |
+
tokenizer = AutoTokenizer.from_pretrained("ai4bharat/indic-parler-tts")
|
122 |
description_tokenizer = AutoTokenizer.from_pretrained(model.config.text_encoder._name_or_path)
|
123 |
|
124 |
prompt = "Hey, how are you doing today?"
|
|
|
156 |
|
157 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
158 |
|
159 |
+
model = ParlerTTSForConditionalGeneration.from_pretrained("ai4bharat/indic-parler-tts").to(device)
|
160 |
+
tokenizer = AutoTokenizer.from_pretrained("ai4bharat/indic-parler-tts")
|
161 |
description_tokenizer = AutoTokenizer.from_pretrained(model.config.text_encoder._name_or_path)
|
162 |
|
163 |
prompt = "अरे, तुम आज कैसे हो?"
|