Arafath10 commited on
Commit
44fed39
·
verified ·
1 Parent(s): 86bdf78

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
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