Update app.py
Browse files
app.py
CHANGED
@@ -260,7 +260,8 @@ with gr.Blocks(theme='gradio/soft') as CHATBOT:
|
|
260 |
#history_state.value=(history)
|
261 |
|
262 |
# Call bot function
|
263 |
-
bot_output = list(bot(history, cross_encoder))
|
|
|
264 |
print('bot_output',bot_output)
|
265 |
#history, prompt_html = bot_output[-1]
|
266 |
history, prompt_html = bot_output
|
|
|
260 |
#history_state.value=(history)
|
261 |
|
262 |
# Call bot function
|
263 |
+
# bot_output = list(bot(history, cross_encoder))
|
264 |
+
bot_output = (bot(history, cross_encoder))
|
265 |
print('bot_output',bot_output)
|
266 |
#history, prompt_html = bot_output[-1]
|
267 |
history, prompt_html = bot_output
|