Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -70,14 +70,14 @@ def process_product(product_name, data):
|
|
70 |
return {
|
71 |
"Product Name": product_name,
|
72 |
"next_month": str(result_dict["next_month"]),
|
73 |
-
"predicted_count": result_dict["predicted_count"]
|
74 |
"full_trend" : full_trend
|
75 |
}
|
76 |
except Exception as e:
|
77 |
return {
|
78 |
"Product Name": product_name,
|
79 |
"next_month": str(e),
|
80 |
-
"predicted_count": "not predicted"
|
81 |
"full_trend" : full_trend
|
82 |
}
|
83 |
|
|
|
70 |
return {
|
71 |
"Product Name": product_name,
|
72 |
"next_month": str(result_dict["next_month"]),
|
73 |
+
"predicted_count": result_dict["predicted_count"],
|
74 |
"full_trend" : full_trend
|
75 |
}
|
76 |
except Exception as e:
|
77 |
return {
|
78 |
"Product Name": product_name,
|
79 |
"next_month": str(e),
|
80 |
+
"predicted_count": "not predicted",
|
81 |
"full_trend" : full_trend
|
82 |
}
|
83 |
|