hanzla commited on
Commit
aa636d7
·
1 Parent(s): d9ce785
Files changed (1) hide show
  1. src/pdfchatbot.py +3 -1
src/pdfchatbot.py CHANGED
@@ -129,7 +129,9 @@ class PDFChatBot:
129
  self.processed = True
130
 
131
  result = self.create_organic_response(history="",query=query)
132
- return list(list(result)),""
 
 
133
 
134
  def render_file(self, file,chunk_size):
135
  print(chunk_size)
 
129
  self.processed = True
130
 
131
  result = self.create_organic_response(history="",query=query)
132
+ for char in result:
133
+ history[-1][-1] += char
134
+ return history,""
135
 
136
  def render_file(self, file,chunk_size):
137
  print(chunk_size)