Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -21,7 +21,7 @@ async def get_product_count_prediction(b_id: int):
|
|
| 21 |
|
| 22 |
if message == "done":
|
| 23 |
|
| 24 |
-
grouped_df =
|
| 25 |
|
| 26 |
results = []
|
| 27 |
for product_name, data in grouped_df:
|
|
|
|
| 21 |
|
| 22 |
if message == "done":
|
| 23 |
|
| 24 |
+
grouped_df = data.groupby('product_name')
|
| 25 |
|
| 26 |
results = []
|
| 27 |
for product_name, data in grouped_df:
|