Spaces:
Runtime error
Runtime error
gaspar-avit
commited on
Commit
•
88b5a04
1
Parent(s):
d3669b1
Upload 2 files
Browse files- app.py +2 -3
- requirements.txt +6 -0
app.py
CHANGED
@@ -95,9 +95,8 @@ def input_layout():
|
|
95 |
col_age = st.slider('Age', 18, 75, on_change=update_prediction())
|
96 |
col_sex = st.radio('Sex', ['Female', 'Male'],
|
97 |
on_change=update_prediction())
|
98 |
-
st.write(
|
99 |
-
|
100 |
-
unsafe_allow_html=True)
|
101 |
|
102 |
# Row 2
|
103 |
col_height, col_weight = st.columns(2)
|
|
|
95 |
col_age = st.slider('Age', 18, 75, on_change=update_prediction())
|
96 |
col_sex = st.radio('Sex', ['Female', 'Male'],
|
97 |
on_change=update_prediction())
|
98 |
+
st.write('div.row-widget.stRadio > div{flex-direction: row \
|
99 |
+
justify-content: center}', unsafe_allow_html=True)
|
|
|
100 |
|
101 |
# Row 2
|
102 |
col_height, col_weight = st.columns(2)
|
requirements.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
xgboost
|
2 |
+
lightgbm
|
3 |
+
catboost
|
4 |
+
sklearn
|
5 |
+
hyperopt
|
6 |
+
htbuilder
|