Spaces:
Runtime error
Runtime error
aaronherrera
commited on
Commit
·
be211af
1
Parent(s):
6e68247
Upload app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def check_food(food, counter):
|
|
51 |
foodName = food[0]
|
52 |
condition = foodName in cell_obj.value
|
53 |
elif (counter == 3) & (len(food) > 1):
|
54 |
-
condition = food[0].
|
55 |
elif (counter == 4) & (len(food) > 1):
|
56 |
condition = food[0] in cell_obj.value
|
57 |
else:
|
|
|
51 |
foodName = food[0]
|
52 |
condition = foodName in cell_obj.value
|
53 |
elif (counter == 3) & (len(food) > 1):
|
54 |
+
condition = food[0].capitalize() == cell_obj.value[0:len(food[0]):]
|
55 |
elif (counter == 4) & (len(food) > 1):
|
56 |
condition = food[0] in cell_obj.value
|
57 |
else:
|