chansung commited on
Commit
d5c7435
β€’
1 Parent(s): f79eb7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -396,9 +396,7 @@ with gr.Blocks(css="constants/styles.css", theme=gr.themes.Soft()) as demo:
396
 
397
  close.click(
398
  None, None, None, cancels=[chat_event1, chat_event2]
399
- )
400
-
401
- close.click(
402
  None, None, None,js=CLOSE_CHAT_IF
403
  )
404
 
 
396
 
397
  close.click(
398
  None, None, None, cancels=[chat_event1, chat_event2]
399
+ ).then(
 
 
400
  None, None, None,js=CLOSE_CHAT_IF
401
  )
402