NCTCMumbai commited on
Commit
07a0a62
·
verified ·
1 Parent(s): dc5ae56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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