Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ if prompt := textinput:
|
|
100 |
# Add user message to chat history
|
101 |
st.session_state.messages.append({"role": "human", "content": prompt})
|
102 |
|
103 |
-
response = predict(message=prompt
|
104 |
# Display assistant response in chat message container
|
105 |
with st.chat_message("assistant", avatar='🦙'):
|
106 |
st.markdown(response)
|
|
|
100 |
# Add user message to chat history
|
101 |
st.session_state.messages.append({"role": "human", "content": prompt})
|
102 |
|
103 |
+
response = predict(message=prompt)#, temperature= temperatureSide,max_new_tokens=max_new_tokensSide, Topp=ToppSide,Repetitionpenalty=RepetitionpenaltySide)
|
104 |
# Display assistant response in chat message container
|
105 |
with st.chat_message("assistant", avatar='🦙'):
|
106 |
st.markdown(response)
|