Vaibhav Srivastav commited on
Commit
533ef97
1 Parent(s): 3444a7f
Files changed (1) hide show
  1. app.py +10 -6
app.py CHANGED
@@ -15,21 +15,24 @@ def predict(prompt, language, audio_file_pth):
15
 
16
  return gr.make_waveform(
17
  audio="output.wav",
18
- )
19
 
20
 
21
  title = "Coqui🐸 XTTS"
22
 
23
  description = """
 
 
 
 
 
 
 
24
  <p>For faster inference without waiting in the queue, you should duplicate this space and upgrade to GPU via the settings.
25
  <br/>
26
  <a href="https://huggingface.co/spaces/coqui/xtts?duplicate=true">
27
  <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
28
  </p>
29
- XTTS is a Voice generation model that lets you clone voices into different languages by using just a quick 3-second audio clip.
30
- Built on Tortoise, XTTS has important model changes that make cross-language voice cloning and multi-lingual speech generation super easy.
31
- <br/>
32
- This is the same model that powers Coqui Studio, and Coqui API, however we apply a few tricks to make it faster and support streaming inference.
33
  """
34
 
35
  article = """
@@ -75,7 +78,8 @@ gr.Interface(
75
  ),
76
  ],
77
  outputs=[
78
- gr.Video(label="Synthesised Speech"),
 
79
  ],
80
  title=title,
81
  description=description,
 
15
 
16
  return gr.make_waveform(
17
  audio="output.wav",
18
+ ), gr.Audio(audio="output.wav")
19
 
20
 
21
  title = "Coqui🐸 XTTS"
22
 
23
  description = """
24
+ XTTS is a Voice generation model that lets you clone voices into different languages by using just a quick 3-second audio clip.
25
+ <br/>
26
+ Built on Tortoise, XTTS has important model changes that make cross-language voice cloning and multi-lingual speech generation super easy.
27
+ <br/>
28
+ This is the same model that powers Coqui Studio, and Coqui API, however we apply a few tricks to make it faster and support streaming inference.
29
+ <br/>
30
+ <br/>
31
  <p>For faster inference without waiting in the queue, you should duplicate this space and upgrade to GPU via the settings.
32
  <br/>
33
  <a href="https://huggingface.co/spaces/coqui/xtts?duplicate=true">
34
  <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
35
  </p>
 
 
 
 
36
  """
37
 
38
  article = """
 
78
  ),
79
  ],
80
  outputs=[
81
+ gr.Video(label="Synthesised Waveform"),
82
+ gr.Audio(label="Synthesised Audio")
83
  ],
84
  title=title,
85
  description=description,