Spaces:
Sleeping
Sleeping
nishantguvvada
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def model_prediction(age, height, weight, duration, heart_rate, body_temp, gende
|
|
42 |
model = load_xgb()
|
43 |
inputs = pd.DataFrame([{'Gender': gender, 'Age': age, 'Height': height, 'Weight': weight, 'Duration': duration, 'Heart_Rate': heart_rate, 'Body_Temp': body_temp}])
|
44 |
predictions = model.predict(inputs)
|
45 |
-
st.write("""# Prediction : """ , predictions
|
46 |
|
47 |
with st.sidebar:
|
48 |
st.markdown("<h2 style='text-align: center; color: red;'>Settings Tab</h2>", unsafe_allow_html=True)
|
|
|
42 |
model = load_xgb()
|
43 |
inputs = pd.DataFrame([{'Gender': gender, 'Age': age, 'Height': height, 'Weight': weight, 'Duration': duration, 'Heart_Rate': heart_rate, 'Body_Temp': body_temp}])
|
44 |
predictions = model.predict(inputs)
|
45 |
+
st.write("""# Prediction : """ , predictions)
|
46 |
|
47 |
with st.sidebar:
|
48 |
st.markdown("<h2 style='text-align: center; color: red;'>Settings Tab</h2>", unsafe_allow_html=True)
|