ryanrwatkins commited on
Commit
2b0a4ff
·
1 Parent(s): 88549e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -188,7 +188,7 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
188
 
189
  total_tokens_used_msg = f"Total tokens used: {state['total_tokens']}"
190
  #chat_messages = [(history[i]['content'], history[i+1]['content']) for i in range(0, len(history)-1, 2)]
191
- chat_messages = [history[0]['content']]
192
  return '', chat_messages, total_tokens_used_msg, state
193
 
194
  def clear_conversation():
 
188
 
189
  total_tokens_used_msg = f"Total tokens used: {state['total_tokens']}"
190
  #chat_messages = [(history[i]['content'], history[i+1]['content']) for i in range(0, len(history)-1, 2)]
191
+ chat_messages = [(history[0]['content'],history[1]['content'])]
192
  return '', chat_messages, total_tokens_used_msg, state
193
 
194
  def clear_conversation():