Katpeeler commited on
Commit
587d806
·
1 Parent(s): 3c12ff9

Update pages/Chat_Mode.py

Browse files
Files changed (1) hide show
  1. pages/Chat_Mode.py +1 -1
pages/Chat_Mode.py CHANGED
@@ -131,7 +131,7 @@ if prompt := st.chat_input("Type some text here!"):
131
  INSERT INTO chatbot3 (id, finish_reason, index_value, logprobs, text_line1, text_line2, created, model, object, completion_tokens, prompt_tokens, total_tokens)
132
  VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s);
133
  """
134
- cursor.execute(insert_data_query, (id_value, finish_reason, index_value, logprobs, text_line1, text_line2, created, model, object_value, completion_tokens, prompt_tokens, total_tokens))
135
 
136
  # Commit the changes and close the connection
137
  conn.commit()
 
131
  INSERT INTO chatbot3 (id, finish_reason, index_value, logprobs, text_line1, text_line2, created, model, object, completion_tokens, prompt_tokens, total_tokens)
132
  VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s);
133
  """
134
+ cursor.execute(insert_data_query, (id_value, finish_reason, index_value, logprobs, text_line1, text_line2, created, model, object, completion_tokens, prompt_tokens, total_tokens))
135
 
136
  # Commit the changes and close the connection
137
  conn.commit()