Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -166,9 +166,10 @@ def user_input(user_question, api_key):
|
|
166 |
transformed_response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
167 |
|
168 |
# Display the transformed response
|
169 |
-
st.write("Reply: ",
|
170 |
-
|
171 |
|
|
|
|
|
172 |
|
173 |
|
174 |
|
|
|
166 |
transformed_response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
167 |
|
168 |
# Display the transformed response
|
169 |
+
st.write("Reply: ", transformed_response)
|
|
|
170 |
|
171 |
+
# Update chat history
|
172 |
+
update_chat_history(user_question, transformed_response)
|
173 |
|
174 |
|
175 |
|