Rijgersberg commited on
Commit
27924ec
·
1 Parent(s): 7b66ddd

Update taallabel en verwijder share button

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -146,15 +146,15 @@ with block:
146
  )
147
 
148
  language_long_name = gr.Dropdown(
149
- list(languages.keys()), value="auto", label="Taal", info="Taal van de gesproken tekst. Auto voor automatische detectie."
150
  )
151
 
152
  btn = gr.Button("Transcribeer")
153
  text = gr.Textbox(show_label=False, elem_id="result-textarea")
154
- with gr.Group(elem_id="share-btn-container"):
155
- community_icon = gr.HTML(community_icon_html, visible=False)
156
- loading_icon = gr.HTML(loading_icon_html, visible=False)
157
- share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
158
 
159
 
160
  btn.click(inference, inputs=[audio, language_long_name], outputs=[text, community_icon, loading_icon, share_button])
 
146
  )
147
 
148
  language_long_name = gr.Dropdown(
149
+ list(languages.keys()), value="auto", label="Taal van gesproken tekst", info="Taal van de gesproken tekst. Kies auto voor automatische detectie."
150
  )
151
 
152
  btn = gr.Button("Transcribeer")
153
  text = gr.Textbox(show_label=False, elem_id="result-textarea")
154
+ # with gr.Group(elem_id="share-btn-container"):
155
+ # community_icon = gr.HTML(community_icon_html, visible=False)
156
+ # loading_icon = gr.HTML(loading_icon_html, visible=False)
157
+ # share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
158
 
159
 
160
  btn.click(inference, inputs=[audio, language_long_name], outputs=[text, community_icon, loading_icon, share_button])