Zhenhong commited on
Commit
4ae73fd
Β·
1 Parent(s): b75c079

Modified app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -60,14 +60,11 @@ def predict(text, speaker):
60
  title = "Text-to-Speech based on SpeechT5"
61
 
62
  description = """
63
- The <b>SpeechT5</b> model is pre-trained on text as well as speech inputs, with targets that are also a mix of text and speech.
64
- By pre-training on text and speech at the same time, it learns unified representations for both, resulting in improved modeling capabilities.
65
 
66
  This space demonstrates the <b>text-to-speech</b> (TTS) checkpoint for the English language.
67
 
68
- <b>How to use:</b> Enter some English text and choose a speaker. The output is a mel spectrogram, which is converted to a mono 16 kHz waveform by the
69
- HiFi-GAN vocoder. Because the model always applies random dropout, each attempt will give slightly different results.
70
- The <em>Surprise Me!</em> option creates a completely randomized speaker.
71
  """
72
 
73
  article = """
 
60
  title = "Text-to-Speech based on SpeechT5"
61
 
62
  description = """
63
+ The <b>SpeechT5</b> model is pre-trained on text as well as speech inputs, with targets that are also a mix of text and speech. By pre-training on text and speech at the same time, it learns unified representations for both, resulting in improved modeling capabilities.
 
64
 
65
  This space demonstrates the <b>text-to-speech</b> (TTS) checkpoint for the English language.
66
 
67
+ <b>How to use:</b> Enter some English text and choose a speaker. The output is a mel spectrogram, which is converted to a mono 16 kHz waveform by the HiFi-GAN vocoder. Because the model always applies random dropout, each attempt will give slightly different results. The <em>Surprise Me!</em> option creates a completely randomized speaker.
 
 
68
  """
69
 
70
  article = """