Spaces:
mskov
/
Runtime error

mskov commited on
Commit
2aadead
·
1 Parent(s): c7651b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -242,7 +242,7 @@ with block:
242
  btn = gr.Button("Transcribe")
243
  text = gr.Textbox(show_label=False, elem_id="result-textarea")
244
  # added rText below
245
- rText = gr.Textbox(show_label=False, elem_id="result-textarea")
246
  with gr.Group(elem_id="share-btn-container"):
247
  community_icon = gr.HTML(community_icon_html, visible=False)
248
  loading_icon = gr.HTML(loading_icon_html, visible=False)
@@ -252,7 +252,7 @@ with block:
252
 
253
 
254
  btn.click(inference, inputs=[audio], outputs=[text, rText, community_icon, loading_icon, share_button])
255
- share_button.click(None, [], [], [], _js=share_js)
256
 
257
  gr.HTML('''
258
  <div class="footer">
 
242
  btn = gr.Button("Transcribe")
243
  text = gr.Textbox(show_label=False, elem_id="result-textarea")
244
  # added rText below
245
+ # rText = gr.Textbox(show_label=False, elem_id="result-textarea")
246
  with gr.Group(elem_id="share-btn-container"):
247
  community_icon = gr.HTML(community_icon_html, visible=False)
248
  loading_icon = gr.HTML(loading_icon_html, visible=False)
 
252
 
253
 
254
  btn.click(inference, inputs=[audio], outputs=[text, rText, community_icon, loading_icon, share_button])
255
+ share_button.click(None, [], [], _js=share_js)
256
 
257
  gr.HTML('''
258
  <div class="footer">