Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,13 +18,12 @@ def formatted_number_input2(title, hint, minval, maxval, defvalue, steps, valfor
|
|
| 18 |
|
| 19 |
st.markdown('<div style="margin-bottom:4px;">', unsafe_allow_html=True)
|
| 20 |
|
| 21 |
-
user_input = st.number_input(f"{title}
|
| 22 |
min_value=minval,
|
| 23 |
max_value=maxval,
|
| 24 |
value=defvalue,
|
| 25 |
step=steps,
|
| 26 |
-
format=valformat
|
| 27 |
-
label_visibility="collapsed"
|
| 28 |
)
|
| 29 |
|
| 30 |
#st.markdown('</div>', unsafe_allow_html=True)
|
|
|
|
| 18 |
|
| 19 |
st.markdown('<div style="margin-bottom:4px;">', unsafe_allow_html=True)
|
| 20 |
|
| 21 |
+
user_input = st.number_input(f"{title} ({hint})",
|
| 22 |
min_value=minval,
|
| 23 |
max_value=maxval,
|
| 24 |
value=defvalue,
|
| 25 |
step=steps,
|
| 26 |
+
format=valformat
|
|
|
|
| 27 |
)
|
| 28 |
|
| 29 |
#st.markdown('</div>', unsafe_allow_html=True)
|