Spaces:
Running
Running
Update app.py
Browse files
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 |
|