Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -168,11 +168,8 @@ def validate_review(description, rating, image_paths=None):
|
|
| 168 |
'Product is original','Shandar product','better quality','Good overall','Genuine product',
|
| 169 |
'100% original','Fantastic','fantastic']
|
| 170 |
|
| 171 |
-
Negative_Strings = ['
|
| 172 |
-
'
|
| 173 |
-
'not recommended','3rd class','Not recommended','slow delivery','Slow Delivery','Slow delivery',
|
| 174 |
-
'bad experience','Bad Experience','Bad experience','not good','local quality','waste of money',
|
| 175 |
-
'pathetic','ghatiya','Baqwas','Not satisfied.','Pathetic','too late','late','Late','unsatisfactory']
|
| 176 |
|
| 177 |
ignore_keywords = ['repack','Repack','REPACK','Repacked','repacked','REPACKED','faulty','Faulty',
|
| 178 |
'FAULT','FAULTY','damaged','Damaged','Not Working','not working','Not working','non pta','Non PTA',
|
|
|
|
| 168 |
'Product is original','Shandar product','better quality','Good overall','Genuine product',
|
| 169 |
'100% original','Fantastic','fantastic']
|
| 170 |
|
| 171 |
+
Negative_Strings = ['Fraud','fraud','slow delivery','Slow Delivery','Slow delivery',
|
| 172 |
+
'Scam','scam','SCAM','too late','late','Late']
|
|
|
|
|
|
|
|
|
|
| 173 |
|
| 174 |
ignore_keywords = ['repack','Repack','REPACK','Repacked','repacked','REPACKED','faulty','Faulty',
|
| 175 |
'FAULT','FAULTY','damaged','Damaged','Not Working','not working','Not working','non pta','Non PTA',
|