Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -454,12 +454,12 @@ if page == "Chat Config":
|
|
454 |
key="model"
|
455 |
)
|
456 |
|
457 |
-
st.slider(
|
458 |
"Temperature",
|
459 |
0.0, 1.0, 0.05,
|
460 |
-
|
461 |
-
on_change=
|
462 |
-
key="temperature"
|
463 |
)
|
464 |
|
465 |
|
|
|
454 |
key="model"
|
455 |
)
|
456 |
|
457 |
+
st.session_state['temperature'] = st.slider(
|
458 |
"Temperature",
|
459 |
0.0, 1.0, 0.05,
|
460 |
+
value = st.session_state['temperature'],
|
461 |
+
on_change=get_llm,
|
462 |
+
# key="temperature"
|
463 |
)
|
464 |
|
465 |
|