aquibmoin commited on
Commit
5f35869
β€’
1 Parent(s): bc5544c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ with st.sidebar:
25
  llm = 'meta/llama-2-7b-chat'
26
  elif selected_model == 'Llama2-13B':
27
  llm = 'meta/llama-2-13b-chat'
28
- temperature = st.sidebar.slider('temperature', min_value=0.01, max_value=5.0, value=0.1, step=0.01)
29
  top_p = st.sidebar.slider('top_p', min_value=0.01, max_value=1.0, value=0.9, step=0.01)
30
  max_length = st.sidebar.slider('max_length', min_value=32, max_value=1000, value=400, step=8)
31
  #st.markdown('πŸ“– Learn how to build this app in this [blog](https://blog.streamlit.io/how-to-build-a-llama-2-chatbot/)!')
 
25
  llm = 'meta/llama-2-7b-chat'
26
  elif selected_model == 'Llama2-13B':
27
  llm = 'meta/llama-2-13b-chat'
28
+ temperature = st.sidebar.slider('temperature', min_value=0.01, max_value=1.0, value=0.1, step=0.01)
29
  top_p = st.sidebar.slider('top_p', min_value=0.01, max_value=1.0, value=0.9, step=0.01)
30
  max_length = st.sidebar.slider('max_length', min_value=32, max_value=1000, value=400, step=8)
31
  #st.markdown('πŸ“– Learn how to build this app in this [blog](https://blog.streamlit.io/how-to-build-a-llama-2-chatbot/)!')