imorcillo commited on
Commit
783bf2c
·
verified ·
1 Parent(s): 958aecd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -217,8 +217,8 @@ with gr.Blocks(css=css_content) as demo:
217
  """)
218
  ok_btn = gr.Button("OK", elem_classes=["popup-button"])
219
 
220
- show_btn.click(show_popup, outputs=popup)
221
- ok_btn.click(hide_popup, outputs=popup)
222
 
223
  demo.launch()
224
 
 
217
  """)
218
  ok_btn = gr.Button("OK", elem_classes=["popup-button"])
219
 
220
+ #show_btn.click(show_popup, outputs=popup)
221
+ ok_btn.click(fn=hide_popup, outputs=popup)
222
 
223
  demo.launch()
224