Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,12 +16,12 @@ def formatted_number_input(title, hint, **kwargs):
|
|
| 16 |
|
| 17 |
def formatted_number_input2(title, hint, minval, maxval, defvalue, steps, valformat="%.6f"):
|
| 18 |
|
| 19 |
-
col1, col2 = st.columns([2, 1])
|
| 20 |
|
| 21 |
with col1:
|
| 22 |
st.markdown(
|
| 23 |
f"""
|
| 24 |
-
<div style="line-height:1.
|
| 25 |
<strong>{title}</strong><br>
|
| 26 |
<span style="font-size:0.85em; color:gray;">{hint}</span>
|
| 27 |
</div>
|
|
|
|
| 16 |
|
| 17 |
def formatted_number_input2(title, hint, minval, maxval, defvalue, steps, valformat="%.6f"):
|
| 18 |
|
| 19 |
+
col1, col2 = st.columns([2, 1], vertical_alignment="center")
|
| 20 |
|
| 21 |
with col1:
|
| 22 |
st.markdown(
|
| 23 |
f"""
|
| 24 |
+
<div style="line-height:1.0">
|
| 25 |
<strong>{title}</strong><br>
|
| 26 |
<span style="font-size:0.85em; color:gray;">{hint}</span>
|
| 27 |
</div>
|