boryasbora commited on
Commit
27f84d9
·
verified ·
1 Parent(s): b3f99b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -130,7 +130,10 @@ with st.sidebar:
130
  key='selected_model',
131
  index = None)
132
 
133
- temperature = st.slider("Temperature: ", 0.0, 1.0, 0.5, 0.1)
 
 
 
134
  if selected_model in ['Mistral-7B-Instruct-v0.2', 'Mixtral-8x7B-Instruct-v0.1']:
135
  if selected_model == 'Mistral-7B-Instruct-v0.2':
136
  selected_model = 'alias-fast'
 
130
  key='selected_model',
131
  index = None)
132
 
133
+ temperature = st.slider("Temperature: ", 0.0, 1.0, 0.5, 0.1,
134
+ help=("Controls the creativity of responses.\n"
135
+ "Lower values make answers more focused.\n"
136
+ "Higher values introduce more variety."))
137
  if selected_model in ['Mistral-7B-Instruct-v0.2', 'Mixtral-8x7B-Instruct-v0.1']:
138
  if selected_model == 'Mistral-7B-Instruct-v0.2':
139
  selected_model = 'alias-fast'