Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
c991ae0
1
Parent(s):
726da94
Update app.py (#7)
Browse files- Update app.py (502b9e0aa09f5ce475810374e6bcf46d06357721)
Co-authored-by: Vaibhav Srivastav <[email protected]>
app.py
CHANGED
@@ -16,7 +16,7 @@ with open('harvard_sentences.txt') as f:
|
|
16 |
####################################
|
17 |
BLOG_POST_LINK = '' # <<<<< ----
|
18 |
AVAILABLE_MODELS = {
|
19 |
-
'
|
20 |
'WhisperSpeech': 'whisperspeech',
|
21 |
'ElevenLabs': 'eleven',
|
22 |
'OpenVoice': 'openvoice',
|
@@ -141,11 +141,13 @@ Vote on different speech synthesis models!
|
|
141 |
INSTR = """
|
142 |
## Instructions
|
143 |
|
144 |
-
*
|
145 |
-
* Listen to the two audio clips.
|
146 |
-
* Vote on which
|
147 |
|
148 |
-
|
|
|
|
|
149 |
""".strip()
|
150 |
request = ''
|
151 |
if SPACE_ID:
|
@@ -182,12 +184,12 @@ We may store text you enter and generated audio. We store a unique ID for each s
|
|
182 |
|
183 |
### License
|
184 |
|
185 |
-
|
186 |
""".strip()
|
187 |
LDESC = """
|
188 |
## Leaderboard
|
189 |
|
190 |
-
A list of the models, based on how
|
191 |
|
192 |
### **Important**: To keep a fair impression of results, the leaderboard will be **hidden** by default, until a large number of human ratings have been recorded.
|
193 |
|
|
|
16 |
####################################
|
17 |
BLOG_POST_LINK = '' # <<<<< ----
|
18 |
AVAILABLE_MODELS = {
|
19 |
+
'XTTSv2': 'xtts',
|
20 |
'WhisperSpeech': 'whisperspeech',
|
21 |
'ElevenLabs': 'eleven',
|
22 |
'OpenVoice': 'openvoice',
|
|
|
141 |
INSTR = """
|
142 |
## Instructions
|
143 |
|
144 |
+
* Input the text to synthesize (or press the 🎲 for a random input text).
|
145 |
+
* Listen to the two audio clips, one after the other.
|
146 |
+
* Vote on which audio sounds more natural to you.
|
147 |
|
148 |
+
Model names will be revealed after the vote is cast.
|
149 |
+
|
150 |
+
**When you're ready to begin, enter text.**
|
151 |
""".strip()
|
152 |
request = ''
|
153 |
if SPACE_ID:
|
|
|
184 |
|
185 |
### License
|
186 |
|
187 |
+
Generated audio clips cannot be redistributed and used for personal, non-commercial use only.
|
188 |
""".strip()
|
189 |
LDESC = """
|
190 |
## Leaderboard
|
191 |
|
192 |
+
A list of the models, based on how natural they sound (according to the votes casted)!
|
193 |
|
194 |
### **Important**: To keep a fair impression of results, the leaderboard will be **hidden** by default, until a large number of human ratings have been recorded.
|
195 |
|