Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ if prompt := st.chat_input("Ask LLama-2-70b anything..."):
|
|
59 |
# Add user message to chat history
|
60 |
st.session_state.messages.append({"role": "human", "content": prompt})
|
61 |
|
62 |
-
response = predict(message=prompt
|
63 |
# Display assistant response in chat message container
|
64 |
with st.chat_message("assistant", avatar='🦙'):
|
65 |
st.markdown(response)
|
|
|
59 |
# Add user message to chat history
|
60 |
st.session_state.messages.append({"role": "human", "content": prompt})
|
61 |
|
62 |
+
response = predict(message=prompt)#, temperature= temperatureSide,max_new_tokens=max_new_tokensSide)
|
63 |
# Display assistant response in chat message container
|
64 |
with st.chat_message("assistant", avatar='🦙'):
|
65 |
st.markdown(response)
|