kaleidoskop-hug
commited on
Commit
•
2e0b6bc
1
Parent(s):
c9646ff
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def get_assistant_aswer(st_model, st_messages, st_temp_value, st_max_tokens):
|
|
77 |
def retry_last():
|
78 |
lastmessage = st.session_state.messages.pop()
|
79 |
st.info(lastmessage["content"])
|
80 |
-
|
81 |
# with st.chat_message("assistant"):
|
82 |
# st.write(response)
|
83 |
# st.button("retry", on_click=retry_last())
|
|
|
77 |
def retry_last():
|
78 |
lastmessage = st.session_state.messages.pop()
|
79 |
st.info(lastmessage["content"])
|
80 |
+
response = get_assistant_aswer(model_links[selected_model], st.session_state.messages, temp_values, max_token_value)
|
81 |
# with st.chat_message("assistant"):
|
82 |
# st.write(response)
|
83 |
# st.button("retry", on_click=retry_last())
|