Alanturner2 commited on
Commit
2e486b9
·
verified ·
1 Parent(s): e93db95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ llm.streaming = True
28
  import gradio as gr
29
 
30
  def chatbot_response(user_input):
31
- return chat_chain.run({"user_input": user_input})
32
 
33
  gr.Interface(
34
  fn=chatbot_response,
 
28
  import gradio as gr
29
 
30
  def chatbot_response(user_input):
31
+ return chat_chain.invoke({"user_input": user_input})
32
 
33
  gr.Interface(
34
  fn=chatbot_response,