mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-20 21:43:36 -07:00
docs: restore accidently deleted comment
This commit is contained in:
parent
620ddbcfef
commit
43953dc8af
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ class NLPParser(ABCIngredientParser):
|
|||
food, food_conf = self._extract_food(ingredient)
|
||||
note, note_conf = self._extract_note(ingredient)
|
||||
|
||||
# average confidence for components which were parsed
|
||||
confidences: list[float] = []
|
||||
if qty:
|
||||
confidences.append(qty_conf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue