Yoxas commited on
Commit
2475c84
·
verified ·
1 Parent(s): f0e5071

Update src/pdfchatbot.py

Browse files
Files changed (1) hide show
  1. src/pdfchatbot.py +1 -1
src/pdfchatbot.py CHANGED
@@ -173,7 +173,7 @@ class PDFChatBot:
173
  return history
174
 
175
  # Function to download conversation history
176
- def download_chat_history(history,text):
177
  with open('chat_history.csv', 'w', newline='') as file:
178
  writer = csv.writer(file)
179
  writer.writerow(["User Input", "Bot Response"])
 
173
  return history
174
 
175
  # Function to download conversation history
176
+ def download_chat(history,text):
177
  with open('chat_history.csv', 'w', newline='') as file:
178
  writer = csv.writer(file)
179
  writer.writerow(["User Input", "Bot Response"])