AashitaK commited on
Commit
f5571bd
·
verified ·
1 Parent(s): 88d9524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ with gr.Blocks() as demo:
100
  submit = gr.Button(chatbot_submit_button, variant="primary")
101
 
102
  # Define button click actions
103
- submit.click(fn=chatbot, inputs=user_input, outputs=output)
104
  reset.click(fn=reset_output, inputs=None, outputs=output)
105
 
106
  # Enable "Enter" key to submit
 
100
  submit = gr.Button(chatbot_submit_button, variant="primary")
101
 
102
  # Define button click actions
103
+ submit.click(fn=chat_interaction, inputs=user_input, outputs=output)
104
  reset.click(fn=reset_output, inputs=None, outputs=output)
105
 
106
  # Enable "Enter" key to submit