ylacombe commited on
Commit
16a0789
·
verified ·
1 Parent(s): 8a4cd28

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -9,13 +9,13 @@ language:
9
  pipeline_tag: text-to-speech
10
  ---
11
 
12
- # Parler-TTS v0.1
13
 
14
  <a target="_blank" href="https://huggingface.co/spaces/parler-tts/parler_tts_mini">
15
  <img src="https://huggingface.co/datasets/huggingface/badges/raw/main/open-in-hf-spaces-sm.svg" alt="Open in HuggingFace"/>
16
  </a>
17
 
18
- **Parler-TTS v0.1** is a lightweight text-to-speech (TTS) model, trained on 10.5K hours of audio data, that can generate high-quality, natural sounding speech with features that can be controlled using a simple text prompt (e.g. gender, background noise, speaking rate, pitch and reverberation).
19
  It is the first release model from the [Parler-TTS](https://github.com/huggingface/parler-tts) project, which aims to provide the community with TTS training resources and dataset pre-processing code.
20
 
21
  ## Usage
@@ -36,8 +36,8 @@ import soundfile as sf
36
 
37
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
38
 
39
- model = ParlerTTSForConditionalGeneration.from_pretrained("parler-tts/parler_tts_300M_v0.1").to(device)
40
- tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler_tts_300M_v0.1")
41
 
42
  prompt = "Hey, how are you doing today?"
43
  description = "A female speaker with a slightly low-pitched voice delivers her words quite expressively, in a very confined sounding environment with clear audio quality. She speaks very fast."
 
9
  pipeline_tag: text-to-speech
10
  ---
11
 
12
+ # Parler-TTS Mini v0.1
13
 
14
  <a target="_blank" href="https://huggingface.co/spaces/parler-tts/parler_tts_mini">
15
  <img src="https://huggingface.co/datasets/huggingface/badges/raw/main/open-in-hf-spaces-sm.svg" alt="Open in HuggingFace"/>
16
  </a>
17
 
18
+ **Parler-TTS Mini v0.1** is a lightweight text-to-speech (TTS) model, trained on 10.5K hours of audio data, that can generate high-quality, natural sounding speech with features that can be controlled using a simple text prompt (e.g. gender, background noise, speaking rate, pitch and reverberation).
19
  It is the first release model from the [Parler-TTS](https://github.com/huggingface/parler-tts) project, which aims to provide the community with TTS training resources and dataset pre-processing code.
20
 
21
  ## Usage
 
36
 
37
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
38
 
39
+ model = ParlerTTSForConditionalGeneration.from_pretrained("parler-tts/parler_tts_mini_v0.1").to(device)
40
+ tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler_tts_mini_v0.1")
41
 
42
  prompt = "Hey, how are you doing today?"
43
  description = "A female speaker with a slightly low-pitched voice delivers her words quite expressively, in a very confined sounding environment with clear audio quality. She speaks very fast."