SourcezZ commited on
Commit
78024e4
·
1 Parent(s): 303f054

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -172,6 +172,7 @@ def predict(inputs, top_p, temperature, openai_api_key, chatbot=[], history=[],
172
  token_counter += 1
173
  # resembles {chatbot: chat, state: history}
174
  yield chatbot, history
 
175
 
176
 
177
  def delete_last_conversation(chatbot, history):
 
172
  token_counter += 1
173
  # resembles {chatbot: chat, state: history}
174
  yield chatbot, history
175
+ print(f'answer is - {history[-1]}\n')
176
 
177
 
178
  def delete_last_conversation(chatbot, history):