Spaces:
Running
on
Zero
Running
on
Zero
new code
Browse files- 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 |
-
|
|
|
|
|
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)
|