Update app.py
Browse files
app.py
CHANGED
@@ -163,7 +163,8 @@ def bot(history, cross_encoder):
|
|
163 |
|
164 |
print('Output:',output)
|
165 |
new_history[-1] = (query, output)
|
166 |
-
|
|
|
167 |
#yield new_history, prompt_html
|
168 |
return new_history,prompt_html
|
169 |
# history[-1][1] = ""
|
|
|
163 |
|
164 |
print('Output:',output)
|
165 |
new_history[-1] = (query, output)
|
166 |
+
print('New History',new_history)
|
167 |
+
print('prompt html',prompt_html)# Update the last tuple with new text
|
168 |
#yield new_history, prompt_html
|
169 |
return new_history,prompt_html
|
170 |
# history[-1][1] = ""
|