Spaces:
Paused
Paused
Commit
·
009429d
1
Parent(s):
27924ec
Herstel sharing
Browse files
app.py
CHANGED
|
@@ -151,10 +151,10 @@ with block:
|
|
| 151 |
|
| 152 |
btn = gr.Button("Transcribeer")
|
| 153 |
text = gr.Textbox(show_label=False, elem_id="result-textarea")
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
|
| 159 |
|
| 160 |
btn.click(inference, inputs=[audio, language_long_name], outputs=[text, community_icon, loading_icon, share_button])
|
|
|
|
| 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])
|