Spaces:
Sleeping
Sleeping
Update pages/Chat_Mode.py
Browse files- 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,
|
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()
|