jmparejaz commited on
Commit
7f25690
1 Parent(s): ccbbbf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -33,16 +33,11 @@ with block:
33
 
34
  btn = gr.Button("Transcribe")
35
  text = gr.Textbox(show_label=False, elem_id="result-textarea")
36
- with gr.Group(elem_id="share-btn-container"):
37
- community_icon = gr.HTML(community_icon_html, visible=False)
38
- loading_icon = gr.HTML(loading_icon_html, visible=False)
39
- share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
40
 
41
 
42
 
43
 
44
- btn.click(inference, inputs=[audio], outputs=[text, community_icon, loading_icon, share_button])
45
- share_button.click(None, [], [], _js=share_js)
46
 
47
 
48
  block.launch()
 
33
 
34
  btn = gr.Button("Transcribe")
35
  text = gr.Textbox(show_label=False, elem_id="result-textarea")
 
 
 
 
36
 
37
 
38
 
39
 
40
+ btn.click(inference, inputs=[audio], outputs=[text])
 
41
 
42
 
43
  block.launch()