imorcillo commited on
Commit
4d72ecc
·
verified ·
1 Parent(s): 1c5af3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -18
app.py CHANGED
@@ -256,26 +256,26 @@ with demo:
256
  )
257
 
258
  ###############################
259
- popup = gr.Column(visible=False, elem_classes="popup-overlay")
260
- with popup:
261
- with gr.Column(elem_classes=["popup-box"]):
262
- gr.Markdown(
263
- """
264
- ### ℹ️ Notice
265
-
266
- Grabaketak ez dira gordetzen eta automatikoki ezabatzen dira.
267
- No se guardan las grabaciones y se eliminan automáticamente.
268
- The recordings are not saved and are automatically removed.
269
- """
270
- )
271
- ok_btn = gr.Button("OK", elem_classes=["popup-button"])
272
- ok_btn.click(fn=hide_popup, outputs=popup)
273
 
274
- # Show on load
275
- demo.load(fn=show_popup, outputs=popup)
276
- gr.Info("Grabaketak ez dira gordetzen eta automatikoki ezabatzen dira.")
277
  ###################
278
-
279
  gr.HTML("""
280
  <div id="orai-info">
281
  <div class="logos">
 
256
  )
257
 
258
  ###############################
259
+ #popup = gr.Column(visible=False, elem_classes="popup-overlay")
260
+ #with popup:
261
+ # with gr.Column(elem_classes=["popup-box"]):
262
+ # gr.Markdown(
263
+ # """
264
+ # ### ℹ️ Notice
265
+ #
266
+ # Grabaketak ez dira gordetzen eta automatikoki ezabatzen dira.
267
+ # No se guardan las grabaciones y se eliminan automáticamente.
268
+ # The recordings are not saved and are automatically removed.
269
+ # """
270
+ # )
271
+ # ok_btn = gr.Button("OK", elem_classes=["popup-button"])
272
+ # ok_btn.click(fn=hide_popup, outputs=popup)
273
 
274
+ ## Show on load
275
+ #demo.load(fn=show_popup, outputs=popup)
276
+ #
277
  ###################
278
+ gr.Info("Grabaketak ez dira gordetzen eta automatikoki ezabatzen dira.")
279
  gr.HTML("""
280
  <div id="orai-info">
281
  <div class="logos">