Maulidaaa commited on
Commit
7097f16
·
verified ·
1 Parent(s): 255c64d

Update app/utils/prediction.py

Browse files
Files changed (1) hide show
  1. app/utils/prediction.py +1 -1
app/utils/prediction.py CHANGED
@@ -50,7 +50,7 @@ def predict_with_description(ingredient, df):
50
  ("Description", desc),
51
  ("Function", func),
52
  ("Risk Level", risk_lvl),
53
- {"code Restriction ", Restriction}
54
  ("Risk Description", risk_desc),
55
  ("Prediction", result)
56
  ])
 
50
  ("Description", desc),
51
  ("Function", func),
52
  ("Risk Level", risk_lvl),
53
+ ("Restriction", Restriction), # ✅ This line fixed
54
  ("Risk Description", risk_desc),
55
  ("Prediction", result)
56
  ])