Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -275,21 +275,19 @@ with demo:
|
|
275 |
)
|
276 |
|
277 |
###############################
|
278 |
-
# Modal component
|
279 |
popup_modal = gr.Column(visible=False, elem_id="popup-overlay")
|
280 |
with popup_modal:
|
281 |
-
gr.
|
282 |
-
"""
|
283 |
### ℹ️ Notice
|
284 |
|
285 |
Grabaketak ez dira gordetzen eta automatikoki ezabatzen dira.
|
286 |
No se guardan las grabaciones y se eliminan automáticamente.
|
287 |
The recordings are not saved and are automatically removed.
|
288 |
-
"""
|
289 |
-
elem_id="popup-
|
290 |
-
|
291 |
-
|
292 |
-
ok_btn.click(fn=hide_popup, outputs=popup_modal)
|
293 |
demo.load(fn=show_popup, outputs=popup_modal)
|
294 |
###################
|
295 |
|
|
|
275 |
)
|
276 |
|
277 |
###############################
|
|
|
278 |
popup_modal = gr.Column(visible=False, elem_id="popup-overlay")
|
279 |
with popup_modal:
|
280 |
+
with gr.Column(elem_id="popup-box"):
|
281 |
+
gr.Markdown("""
|
282 |
### ℹ️ Notice
|
283 |
|
284 |
Grabaketak ez dira gordetzen eta automatikoki ezabatzen dira.
|
285 |
No se guardan las grabaciones y se eliminan automáticamente.
|
286 |
The recordings are not saved and are automatically removed.
|
287 |
+
""")
|
288 |
+
ok_btn = gr.Button("OK", elem_id="popup-button")
|
289 |
+
|
290 |
+
ok_btn.click(fn=hide_popup, outputs=popup_modal)
|
|
|
291 |
demo.load(fn=show_popup, outputs=popup_modal)
|
292 |
###################
|
293 |
|