Spaces:
Runtime error
Runtime error
Zhenhong
commited on
Commit
·
2a8e49b
1
Parent(s):
d5ed57e
Update app.py
Browse files
README.md
CHANGED
|
@@ -4,9 +4,9 @@ emoji: 👀
|
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 3.
|
| 8 |
app_file: app.py
|
| 9 |
-
pinned:
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 3.17.0
|
| 8 |
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
|
@@ -65,8 +65,7 @@ By pre-training on text and speech at the same time, it learns unified represent
|
|
| 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 |
|
|
@@ -94,7 +93,7 @@ article = """
|
|
| 94 |
"""
|
| 95 |
|
| 96 |
examples = [
|
| 97 |
-
["
|
| 98 |
["The octopus and Oliver went to the opera in October.", "CLB (female)"],
|
| 99 |
["She sells seashells by the seashore. I saw a kitten eating chicken in the kitchen.", "RMS (male)"],
|
| 100 |
["Brisk brave brigadiers brandished broad bright blades, blunderbusses, and bludgeons—balancing them badly.", "SLT (female)"],
|
|
|
|
| 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 HiFi-GAN vocoder. Because the model always applies random dropout, each attempt will give slightly different results.
|
|
|
|
| 69 |
The <em>Surprise Me!</em> option creates a completely randomized speaker.
|
| 70 |
"""
|
| 71 |
|
|
|
|
| 93 |
"""
|
| 94 |
|
| 95 |
examples = [
|
| 96 |
+
["As a Data Scientist, I'll be demonstrating my speaking voice in this example. If you don't like my voice, you can choose a different one by setting the speaker parameter.", "BDL (male)"],
|
| 97 |
["The octopus and Oliver went to the opera in October.", "CLB (female)"],
|
| 98 |
["She sells seashells by the seashore. I saw a kitten eating chicken in the kitchen.", "RMS (male)"],
|
| 99 |
["Brisk brave brigadiers brandished broad bright blades, blunderbusses, and bludgeons—balancing them badly.", "SLT (female)"],
|