nishantguvvada commited on
Commit
d4351ec
·
verified ·
1 Parent(s): 2677dc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[0])
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)