Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
9597857
1
Parent(s):
f46b3bf
Update app.py
Browse files
app.py
CHANGED
@@ -356,29 +356,6 @@ while run_server:
|
|
356 |
with gr.Row():
|
357 |
output_audio = gr.Audio(label="Generated Audio", type="filepath")
|
358 |
|
359 |
-
with gr.Row():
|
360 |
-
examples = [
|
361 |
-
"Special meanings: [laughter] [laughs] [sighs] [music] [gasps] [clears throat] MAN: WOMAN:",
|
362 |
-
"♪ Never gonna make you cry, never gonna say goodbye, never gonna tell a lie and hurt you ♪",
|
363 |
-
"And now — a picture of a larch [laughter]",
|
364 |
-
"""
|
365 |
-
WOMAN: I would like an oatmilk latte please.
|
366 |
-
MAN: Wow, that's expensive!
|
367 |
-
""",
|
368 |
-
"""<?xml version="1.0"?>
|
369 |
-
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis"
|
370 |
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
371 |
-
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
|
372 |
-
http://www.w3.org/TR/speech-synthesis/synthesis.xsd"
|
373 |
-
xml:lang="en-US">
|
374 |
-
<voice name="/v2/en_speaker_9">Look at that drunk guy!</voice>
|
375 |
-
<voice name="/v2/en_speaker_3">Who is he?</voice>
|
376 |
-
<voice name="/v2/en_speaker_9">WOMAN: [clears throat] 10 years ago, he proposed me and I rejected him.</voice>
|
377 |
-
<voice name="/v2/en_speaker_3">Oh my God [laughs] he is still celebrating</voice>
|
378 |
-
</speak>"""
|
379 |
-
]
|
380 |
-
examples = gr.Examples(examples=examples, inputs=input_text)
|
381 |
-
|
382 |
with gr.Tab("🔮 - Voice Conversion"):
|
383 |
with gr.Row():
|
384 |
swap_audio_filename = gr.Audio(label="Input audio.wav to swap voice", source="upload", type="filepath")
|
|
|
356 |
with gr.Row():
|
357 |
output_audio = gr.Audio(label="Generated Audio", type="filepath")
|
358 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
with gr.Tab("🔮 - Voice Conversion"):
|
360 |
with gr.Row():
|
361 |
swap_audio_filename = gr.Audio(label="Input audio.wav to swap voice", source="upload", type="filepath")
|