Update app.py
Browse files
app.py
CHANGED
@@ -252,7 +252,8 @@ with gr.Blocks(theme='gradio/soft') as CHATBOT:
|
|
252 |
|
253 |
# Call bot function
|
254 |
bot_output = list(bot(history, cross_encoder))
|
255 |
-
history, prompt_html = bot_output[-1]
|
|
|
256 |
print('History',history)
|
257 |
# Update the history state
|
258 |
history_state[:] = history
|
|
|
252 |
|
253 |
# Call bot function
|
254 |
bot_output = list(bot(history, cross_encoder))
|
255 |
+
#history, prompt_html = bot_output[-1]
|
256 |
+
history, prompt_html = bot_output
|
257 |
print('History',history)
|
258 |
# Update the history state
|
259 |
history_state[:] = history
|