Pavan178 commited on
Commit
b1015d9
·
verified ·
1 Parent(s): fc39a13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def upload_pdf(pdf_file):
116
 
117
  def respond(message, history):
118
  bot_message = pdf_chatbot.chat(message)
119
- history.append((f"User: {message}", f"Bot: {bot_message}"))
120
  return "", history
121
 
122
  def clear_chatbot():
 
116
 
117
  def respond(message, history):
118
  bot_message = pdf_chatbot.chat(message)
119
+ history.append((message, bot_message))
120
  return "", history
121
 
122
  def clear_chatbot():