Update app/utils/prediction.py
Browse files- 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 |
-
|
| 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 |
])
|