Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,16 +90,16 @@ def formatted_number_input(title, hint, minval, maxval, defvalue, steps, valform
|
|
| 90 |
st.markdown("""
|
| 91 |
<style>
|
| 92 |
.card {
|
| 93 |
-
background-color: #
|
| 94 |
-
border: 1px solid #
|
| 95 |
border-radius: 12px;
|
| 96 |
-
padding:
|
| 97 |
-
margin-bottom:
|
| 98 |
}
|
| 99 |
.card-title {
|
| 100 |
-
font-size: 1.
|
| 101 |
font-weight: 600;
|
| 102 |
-
margin-bottom:
|
| 103 |
}
|
| 104 |
</style>
|
| 105 |
""", unsafe_allow_html=True)
|
|
@@ -116,8 +116,10 @@ col_inputs, col_output = st.columns([3, 1.5])
|
|
| 116 |
# update contnent (input) in left input column
|
| 117 |
with col_inputs:
|
| 118 |
|
| 119 |
-
st.markdown('<div class="card"
|
| 120 |
-
|
|
|
|
|
|
|
| 121 |
|
| 122 |
# define inputs in left column
|
| 123 |
with col_left:
|
|
@@ -198,7 +200,8 @@ with col_inputs:
|
|
| 198 |
|
| 199 |
with col_output:
|
| 200 |
|
| 201 |
-
st.markdown('<div class="card"
|
|
|
|
| 202 |
|
| 203 |
output_placeholder = st.empty()
|
| 204 |
details_placeholder = st.empty()
|
|
|
|
| 90 |
st.markdown("""
|
| 91 |
<style>
|
| 92 |
.card {
|
| 93 |
+
background-color: #0f141a;
|
| 94 |
+
border: 1px solid #2a2f36;
|
| 95 |
border-radius: 12px;
|
| 96 |
+
padding: 18px;
|
| 97 |
+
margin-bottom: 20px;
|
| 98 |
}
|
| 99 |
.card-title {
|
| 100 |
+
font-size: 1.1rem;
|
| 101 |
font-weight: 600;
|
| 102 |
+
margin-bottom: 12px;
|
| 103 |
}
|
| 104 |
</style>
|
| 105 |
""", unsafe_allow_html=True)
|
|
|
|
| 116 |
# update contnent (input) in left input column
|
| 117 |
with col_inputs:
|
| 118 |
|
| 119 |
+
st.markdown('<div class="card">', unsafe_allow_html=True)
|
| 120 |
+
st.markdown('<div class="card-title">🔧 Engine Parameters</div>', unsafe_allow_html=True)
|
| 121 |
+
|
| 122 |
+
col_left, col_right = st.columns(2)
|
| 123 |
|
| 124 |
# define inputs in left column
|
| 125 |
with col_left:
|
|
|
|
| 200 |
|
| 201 |
with col_output:
|
| 202 |
|
| 203 |
+
st.markdown('<div class="card">', unsafe_allow_html=True)
|
| 204 |
+
st.markdown('<div class="card-title">🧠 Prediction Result</div>', unsafe_allow_html=True)
|
| 205 |
|
| 206 |
output_placeholder = st.empty()
|
| 207 |
details_placeholder = st.empty()
|