saritha5 commited on
Commit
e9e0a6e
1 Parent(s): 85da080

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -16
app.py CHANGED
@@ -46,7 +46,7 @@ def classify_compliant(text):
46
 
47
  #build the Gradio app
48
  #Instructuction = "Write an imaginary review about a product or service you might be interested in."
49
- title="Consumer Complaint Segmentation"
50
  description = """Write a complaint on insurance product or service,\
51
  see how the machine learning model is able to predict your Complaint type"""
52
  article = """
@@ -63,21 +63,16 @@ gr.Interface(classify_compliant,
63
  article = article,
64
  allow_flagging = "never",
65
  live = False,
66
- examples=["""Debt to XXXX was satisfied when account was closed and all equipment was returned, XXXX 2014. NO further contact from XXXX XXXX, however,
67
- 13 months later this " collection \'\' shows up on on my credit report. NO prior written or phone communication.
68
- I have attempted to contact this Debt Collector and can not get any information pertaining to my account from the""",
69
- """I receive repeated calls daily from this company. I signed up for a debt consolidation service and they continued to call my personal phone and my place of employment. \nCausing a phone to ring repeatedly in the attempts to annoy or establish communication is against the law.
70
- I have asked for the calls to stop and sent a cease and desist and still the calls continue""",
71
- """I was erroneously reported to all three major credit Bureaus by XXXX for a professional fee I paid for {$220.00} on XX/XX/2015.
72
- I have the cancelled check. This check cleared the bank on XX/XX/2015.
73
- I receivePlease note-I have the recorded call on file and it was disclosed to the company that I was recording.
74
- I called Hunter Warfield to come to a resoluation on some lease break fees I had with an apartment complex called XXXX XXXX.
75
- The representative told me the total amount due was {$2100.00} and that I can settle for half of that amount. Unfortunately, I was unable to accept the settlement but began to question the amount because my last statement was {$1800.00} and there was nothing written in the contract for additional interest charges should my account go into collection. I told the representative that I will pay the amount actually owed and I want to make a payment arrangement. She told me I ca n\'t just do what I want, If I want to pay the original amount due, it has to be paid in full. I told her that that is not fair debt collection practice and that I am only contractually obligated to the {$1800.00} and we can set up an arrangement from that.
76
- She asked me in a condensing told """ ,
77
- """ERC is the company, first they say, I owe for this debt that I have no idea or clue what it is or if I even did it.
78
- then the debt is about 8 years old, and also threaten take me to court if I don't pay""",
79
- """I do n't think I chose the correct issue above, however I think it is closest to my issue. I have a record on my credit report that I have disputed through both the company and the credit bureaus. The dispute is marked as being disputed by me on my report, but it was not removed despite the creditor not sending me verification of this debt. I do not even know what this debt is for.
80
- I have tried contacting the collection agency by mail to obtain verification with no response and they will not remove the item from my report."""
81
 
82
  ]
83
  ).launch()
 
46
 
47
  #build the Gradio app
48
  #Instructuction = "Write an imaginary review about a product or service you might be interested in."
49
+ title="Costumer Complaint Categorisation"
50
  description = """Write a complaint on insurance product or service,\
51
  see how the machine learning model is able to predict your Complaint type"""
52
  article = """
 
63
  article = article,
64
  allow_flagging = "never",
65
  live = False,
66
+ examples=["""Th e day before my Salliemae student loan payment was due I contacted a rep to discuss the impact on my account of making
67
+ my payment at the end of the month rather than the middle for just that one month.""",
68
+ """The representative told me the total amount due was {$2100.00} and that I can settle for half of that amount. Unfortunately,
69
+ I was unable to accept the settlement but began to question the amount because my last """ ,
70
+ """This debt is beyond the Maryland Statute of Limitations. It is illegal for a debt collector to collect on an expired debt.
71
+ They have taken illegal action by seizing my Maryland State Refund when the debt had already""",
72
+ """The company has been calling my employer in an attempt to collect a debt. When I spoke with them and informed them that this was not an appropriate number to call. I asked what company they were calling from and a phone number so he told me the company name, but the man on the phone would not give me his name or a phone number. I had mailed a letter requesting verification a few weeks ago and had n't received anything back.
73
+ In the letter I specifically requested that all communication be done through mail.""",
74
+ """ I do n't think I chose the correct issue above, however I think it is closest to my issue.
75
+ I have a record on my credit report that I have disputed through both the company and the credit bureaus. The dispute is marked"""
 
 
 
 
 
76
 
77
  ]
78
  ).launch()