Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,9 @@ def inference(text):
|
|
43 |
torchaudio.save("output_waveglow.wav", waveforms[0:1].cpu(), sample_rate=22050)
|
44 |
return "output_waveglow.wav"
|
45 |
|
46 |
-
title="
|
47 |
-
description="Gradio demo for
|
48 |
-
|
|
|
49 |
examples=[["life is like a box of chocolates"]]
|
50 |
gr.Interface(inference,"text",gr.outputs.Audio(type="file"),title=title,description=description,article=article,examples=examples).launch(enable_queue=True)
|
|
|
43 |
torchaudio.save("output_waveglow.wav", waveforms[0:1].cpu(), sample_rate=22050)
|
44 |
return "output_waveglow.wav"
|
45 |
|
46 |
+
title="WAVEGLOW"
|
47 |
+
description="Gradio demo for WAVEGLOW: WaveGlow model for generating speech from mel spectrograms (generated by Tacotron2). To use it, simply add you text or click on one of the examples to load them. Read more at the links below."
|
48 |
+
|
49 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1811.00002' target='_blank'>WaveGlow: A Flow-based Generative Network for Speech Synthesis</a> | <a href='https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/SpeechSynthesis/Tacotron2' target='_blank'>Github Repo</a></p>"
|
50 |
examples=[["life is like a box of chocolates"]]
|
51 |
gr.Interface(inference,"text",gr.outputs.Audio(type="file"),title=title,description=description,article=article,examples=examples).launch(enable_queue=True)
|