Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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'
|