Spaces:
Sleeping
Sleeping
Update main.py
Browse files
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
|