Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ div[data-baseweb="input"] {
|
|
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
-
def formatted_number_input(title, hint, minval, maxval, defvalue, steps, valformat="%.
|
| 81 |
|
| 82 |
st.markdown('<div style="margin-bottom:4px;">', unsafe_allow_html=True)
|
| 83 |
|
|
@@ -93,8 +93,8 @@ def formatted_number_input(title, hint, minval, maxval, defvalue, steps, valform
|
|
| 93 |
min_value=minval,
|
| 94 |
max_value=maxval,
|
| 95 |
value=defvalue,
|
| 96 |
-
step=
|
| 97 |
-
format=
|
| 98 |
label_visibility="collapsed"
|
| 99 |
)
|
| 100 |
|
|
|
|
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
+
def formatted_number_input(title, hint, minval, maxval, defvalue, steps, valformat="%.4f"):
|
| 81 |
|
| 82 |
st.markdown('<div style="margin-bottom:4px;">', unsafe_allow_html=True)
|
| 83 |
|
|
|
|
| 93 |
min_value=minval,
|
| 94 |
max_value=maxval,
|
| 95 |
value=defvalue,
|
| 96 |
+
step=steps,
|
| 97 |
+
format=valformat,
|
| 98 |
label_visibility="collapsed"
|
| 99 |
)
|
| 100 |
|