chatbytes commited on
Commit
be93c19
·
verified ·
1 Parent(s): 0a0896b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ with gr.Blocks() as demo:
59
  # submit_btn.click(text_extract, inputs=[input_file], outputs=[user_input])
60
 
61
  # Connect send button to chatbot_response function
62
- send_btn.click(chatbot_response, inputs=[user_input, state], outputs=[chatbot, state])
63
 
64
  # Initialize embeddings and launch the app
65
  if __name__ == "__main__":
 
59
  # submit_btn.click(text_extract, inputs=[input_file], outputs=[user_input])
60
 
61
  # Connect send button to chatbot_response function
62
+ send_btn.click(chatbot_response, inputs=[user_input], outputs=[chatbot])
63
 
64
  # Initialize embeddings and launch the app
65
  if __name__ == "__main__":