Asad110786110 commited on
Commit
6968fa9
·
verified ·
1 Parent(s): 8516c1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
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 = ['Not much satisfied','not too good','Bad','Bakwassssssss','bad','Ghatya',
172
- 'ghatya','Fraud','fraud','bakwas','Bakwas','poor','Poor','cheap','Cheap','not satisfied',
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',