KvrParaskevi commited on
Commit
cb05476
·
verified ·
1 Parent(s): 8204ebb

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
  @spaces.GPU
60
  def bot(history):
61
  print("Question: ", history[-1][0])
62
- bot_message = llm_chain.invoke(question=history[-1][0])
63
  print("Response: ", bot_message)
64
  history[-1][1] = ""
65
  history[-1][1] += bot_message
 
59
  @spaces.GPU
60
  def bot(history):
61
  print("Question: ", history[-1][0])
62
+ bot_message = llm_chain.invoke(input=history[-1][0])
63
  print("Response: ", bot_message)
64
  history[-1][1] = ""
65
  history[-1][1] += bot_message