Spaces:
Paused
Paused
dev/streamlit-modify-slider (#14)
Browse files- modify temperature ui for float (91fea9fbc747514cf77fc59dd62c1dc4d9489217)
app.py
CHANGED
@@ -209,7 +209,7 @@ with st.form("my_form"):
|
|
209 |
label="絞り込み",
|
210 |
help="ドキュメント制限する?",
|
211 |
)
|
212 |
-
temperature = st.slider(label="temperature", min_value=0, max_value=2)
|
213 |
|
214 |
submitted = st.form_submit_button("Submit")
|
215 |
if submitted:
|
|
|
209 |
label="絞り込み",
|
210 |
help="ドキュメント制限する?",
|
211 |
)
|
212 |
+
temperature = st.slider(label="temperature", min_value=0.0, max_value=2.0, step=0.1)
|
213 |
|
214 |
submitted = st.form_submit_button("Submit")
|
215 |
if submitted:
|