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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,7 +39,8 @@ def predict_charges(i_age, i_sex, i_bmi, i_children, i_smoker, i_region):
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
 
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
+ f"{prediction}"
44
  )
45
 
46
  return prediction