Update app.py
Browse files
app.py
CHANGED
@@ -256,17 +256,13 @@ with block:
|
|
256 |
text = gr.Textbox(show_label=False, elem_id="result-textarea")
|
257 |
# added rText below
|
258 |
# rText = gr.Textbox(show_label=False, elem_id="result-textarea")
|
259 |
-
with gr.Group(elem_id="share-btn-container"):
|
260 |
-
community_icon = gr.HTML(community_icon_html, visible=False)
|
261 |
-
loading_icon = gr.HTML(loading_icon_html, visible=False)
|
262 |
-
share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
|
263 |
-
|
264 |
|
265 |
-
|
266 |
|
|
|
|
|
267 |
|
268 |
btn.click(inference, inputs=[audio], outputs=[text, community_icon, loading_icon, share_button])
|
269 |
-
share_button.click(None, [], [], _js=share_js)
|
270 |
|
271 |
gr.HTML('''
|
272 |
<div class="footer">
|
|
|
256 |
text = gr.Textbox(show_label=False, elem_id="result-textarea")
|
257 |
# added rText below
|
258 |
# rText = gr.Textbox(show_label=False, elem_id="result-textarea")
|
|
|
|
|
|
|
|
|
|
|
259 |
|
260 |
+
|
261 |
|
262 |
+
buttonV = gr.Button(" ")
|
263 |
+
buttonV.click(buttonValues, inputs=[], outputs=[])
|
264 |
|
265 |
btn.click(inference, inputs=[audio], outputs=[text, community_icon, loading_icon, share_button])
|
|
|
266 |
|
267 |
gr.HTML('''
|
268 |
<div class="footer">
|