Update app.py
Browse files
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="
|
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=["""
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
I
|
73 |
-
|
74 |
-
I
|
75 |
-
|
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()
|