Yixuan Li commited on
Commit
40bd0eb
·
1 Parent(s): a1e6c79

revise example table

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -149,9 +149,7 @@ You can upload your own samples, or try the quick examples provided below.
149
  ## 🎯 Quick Examples
150
  """)
151
 
152
- display_caption = gr.Textbox(label="📝 Caption" , visible=False)
153
-
154
- audio_out = gr.Audio(type="numpy", label="", show_label=False)
155
 
156
  with gr.Tabs():
157
  with gr.Tab("VITS Generated Speech"):
@@ -169,7 +167,6 @@ You can upload your own samples, or try the quick examples provided below.
169
  ["wav/vits/10.wav", "A telephone rings with bell sounds"]
170
  ],
171
  inputs=[input_audio, display_caption],
172
- outputs=[audio_out, display_caption],
173
  label="Click examples below to try!",
174
  cache_examples = False,
175
  examples_per_page = 10,
@@ -190,7 +187,6 @@ You can upload your own samples, or try the quick examples provided below.
190
  ["wav/human/10.wav", "A telephone rings with bell sounds"]
191
  ],
192
  inputs=[input_audio, display_caption],
193
- outputs=[audio_out, display_caption],
194
  label="Click examples below to try!",
195
  cache_examples = False,
196
  examples_per_page = 10,
 
149
  ## 🎯 Quick Examples
150
  """)
151
 
152
+ display_caption = gr.Textbox(label="📝 Caption" ,visible=False)
 
 
153
 
154
  with gr.Tabs():
155
  with gr.Tab("VITS Generated Speech"):
 
167
  ["wav/vits/10.wav", "A telephone rings with bell sounds"]
168
  ],
169
  inputs=[input_audio, display_caption],
 
170
  label="Click examples below to try!",
171
  cache_examples = False,
172
  examples_per_page = 10,
 
187
  ["wav/human/10.wav", "A telephone rings with bell sounds"]
188
  ],
189
  inputs=[input_audio, display_caption],
 
190
  label="Click examples below to try!",
191
  cache_examples = False,
192
  examples_per_page = 10,