Arafath10 commited on
Commit
4d7c0ac
1 Parent(s): 095952c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -39,4 +39,4 @@ async def get_product_count_prediction(b_id:int,product_name:str):
39
  # Convert to dictionary
40
  result_dict = rounded_value.to_dict(orient="records")[0]
41
 
42
- return {"next_month":str(result_dict[next_month]) , "predicted_count":result_dict[predicted_count]}
 
39
  # Convert to dictionary
40
  result_dict = rounded_value.to_dict(orient="records")[0]
41
 
42
+ return {"next_month":str(result_dict["next_month"]) , "predicted_count":result_dict["predicted_count"]}