aamirtaymoor commited on
Commit
e89c367
·
verified ·
1 Parent(s): 1e09ea3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -75,6 +75,7 @@ def predict_file_responses(file: UploadFile = File(...)):
75
  review_id = row['REVIEWID']
76
  raw_data = {"text":text, "star_rating":star_rating, "skip":False}
77
  processed_data, has_sentiments = process_single_comment(raw_data)
 
78
  processed_data_list.append({"processed_data":processed_data, "has_sentiments":has_sentiments, "review_id":review_id})
79
  finally:
80
  pass
 
75
  review_id = row['REVIEWID']
76
  raw_data = {"text":text, "star_rating":star_rating, "skip":False}
77
  processed_data, has_sentiments = process_single_comment(raw_data)
78
+ print(f"Processed review with index {index}")
79
  processed_data_list.append({"processed_data":processed_data, "has_sentiments":has_sentiments, "review_id":review_id})
80
  finally:
81
  pass