We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f0138 commit c81c149Copy full SHA for c81c149
weight_predict/weight_predict.py
@@ -161,9 +161,9 @@ def main():
161
item_changes = shelf.slots[i].predict_most_likely_item(new_weight)
162
for item_change in item_changes:
163
if item_change.quantity > 0:
164
- print(f"Remove {item_change.quantity} from cart")
+ print(f"Remove {abs(item_change.quantity)} {item_change.name} from cart")
165
else:
166
- print(f"Add {item_change.quantity} to cart")
+ print(f"Add {abs(item_change.quantity)} {item_change.name} to cart")
167
168
169
# New shelf, just save this as the previous slot data
0 commit comments