Spaces:
Running
on
A10G
Running
on
A10G
remove extra outputs
Browse files
app.py
CHANGED
@@ -236,13 +236,13 @@ with iface:
|
|
236 |
# outputs=[gr.Audio(label="Output", type="numpy"), gr.Audio(label="Output", type="numpy")]
|
237 |
btn = gr.Button("Submit").style(full_width=True)
|
238 |
|
239 |
-
with gr.Group(elem_id="share-btn-container", visible=False)
|
240 |
community_icon = gr.HTML(community_icon_html)
|
241 |
loading_icon = gr.HTML(loading_icon_html)
|
242 |
share_button = gr.Button("Share to community", elem_id="share-btn")
|
243 |
|
244 |
btn.click(text2audio, inputs=[
|
245 |
-
textbox, duration, guidance_scale, seed, n_candidates], outputs=[outputs
|
246 |
|
247 |
share_button.click(None, [], [], _js=share_js)
|
248 |
gr.HTML('''
|
|
|
236 |
# outputs=[gr.Audio(label="Output", type="numpy"), gr.Audio(label="Output", type="numpy")]
|
237 |
btn = gr.Button("Submit").style(full_width=True)
|
238 |
|
239 |
+
with gr.Group(elem_id="share-btn-container", visible=False):
|
240 |
community_icon = gr.HTML(community_icon_html)
|
241 |
loading_icon = gr.HTML(loading_icon_html)
|
242 |
share_button = gr.Button("Share to community", elem_id="share-btn")
|
243 |
|
244 |
btn.click(text2audio, inputs=[
|
245 |
+
textbox, duration, guidance_scale, seed, n_candidates], outputs=[outputs])
|
246 |
|
247 |
share_button.click(None, [], [], _js=share_js)
|
248 |
gr.HTML('''
|