Chad commited on
Commit
2dabc7d
·
1 Parent(s): d0f6885

please im rlly tireddwwd

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -122,8 +122,7 @@ with gr.Blocks() as interface:
122
  outputs=[chatbot, state, user_input]
123
  )
124
 
125
- reset_button = gr.Button("New Conversation")
126
- reset_button.click(lambda: ([], []), outputs=[chatbot, state])
127
 
128
  if __name__ == "__main__":
129
  interface.launch(share=True)
 
122
  outputs=[chatbot, state, user_input]
123
  )
124
 
125
+ reset_button.click(lambda: [], outputs=[state])
 
126
 
127
  if __name__ == "__main__":
128
  interface.launch(share=True)