pankilshah commited on
Commit
c74e5a7
·
verified ·
1 Parent(s): 0725159

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -38,7 +38,8 @@ def predict_charges(i_age, i_sex, i_bmi, i_children, i_smoker, i_region):
38
 
39
  # Log the inputs and the prediction
40
  logging.warning(
41
- f"ID: {uuid.uuid4()} | age: {i_age} | sex: {i_sex} | bmi: {i_bmi} | children: {i_children} | smoker: {i_smoker} | region: {i_region} | prediction: {prediction}"
 
42
  )
43
 
44
  return prediction
 
38
 
39
  # Log the inputs and the prediction
40
  logging.warning(
41
+ # f"ID: {uuid.uuid4()} | age: {i_age} | sex: {i_sex} | bmi: {i_bmi} | children: {i_children} | smoker: {i_smoker} | region: {i_region} | prediction: {prediction}"
42
+ f"{uuid.uuid4()} | {i_age} | {i_sex} | {i_bmi} | {i_children} | {i_smoker} | {i_region} | {prediction}"
43
  )
44
 
45
  return prediction