patti-j commited on
Commit
831c33a
1 Parent(s): 631b69f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
20
  response = gr.Textbox
21
 
22
  def respond(message, chat_history):
23
- response = get_chain({"message": message, "chat_history": history})["response"]
24
  history.append((message, response))
25
  return "", history
26
 
 
20
  response = gr.Textbox
21
 
22
  def respond(message, chat_history):
23
+ response = get_chain({"message": message, "history": chat_history})["response"]
24
  history.append((message, response))
25
  return "", history
26