sreevidya16 commited on
Commit
df391b3
·
verified ·
1 Parent(s): d10216a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -3,8 +3,7 @@ import pickle
3
  import numpy as np
4
 
5
  # Define the path to your model file
6
- MODEL_PATH = 'MODEL_PATH = 'cloth_recommendation.pkl'
7
- '
8
 
9
  # Load the trained model
10
  with open(MODEL_PATH, 'rb') as f:
@@ -25,4 +24,4 @@ age = st.number_input('Age (years)', min_value=0.0, step=0.1)
25
 
26
  if st.button('Predict Size'):
27
  size = predict_size(height, weight, age)
28
- st.write(f'Predicted Size: {size:.2f}')
 
3
  import numpy as np
4
 
5
  # Define the path to your model file
6
+ MODEL_PATH = 'cloth_recommendation.pkl'
 
7
 
8
  # Load the trained model
9
  with open(MODEL_PATH, 'rb') as f:
 
24
 
25
  if st.button('Predict Size'):
26
  size = predict_size(height, weight, age)
27
+ st.write(f'Predicted Size: {size:.2f}')