Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -239,7 +239,8 @@ with demo:
|
|
239 |
with popup:
|
240 |
gr.HTML('<div class="popup-overlay"><div class="popup-box">')
|
241 |
gr.Markdown("Grabaketak ez dira gordetzen eta automatikoki ezabatzen dira.\nNo se guardan las grabaciones y se eliminan automáticamente.\nThe recordings are not saved and are automatically removed.")
|
242 |
-
gr.Button("OK"
|
|
|
243 |
gr.HTML('</div></div>')
|
244 |
|
245 |
#gr.Button("Show Message", click=show_popup)
|
|
|
239 |
with popup:
|
240 |
gr.HTML('<div class="popup-overlay"><div class="popup-box">')
|
241 |
gr.Markdown("Grabaketak ez dira gordetzen eta automatikoki ezabatzen dira.\nNo se guardan las grabaciones y se eliminan automáticamente.\nThe recordings are not saved and are automatically removed.")
|
242 |
+
ok_button = gr.Button("OK")
|
243 |
+
ok_button.click(fn=hide_popup, outputs=popup)
|
244 |
gr.HTML('</div></div>')
|
245 |
|
246 |
#gr.Button("Show Message", click=show_popup)
|