saritha5 commited on
Commit
1094158
1 Parent(s): 821a5c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -47,8 +47,9 @@ def classify_compliant(text):
47
  #build the Gradio app
48
  #Instructuction = "Write an imaginary review about a product or service you might be interested in."
49
  title="Customer Complaints Categorization"
50
- description = """This application uses fine-tune BERT to perform Customer Complaints Categorization.BERT models are usually pretrained on a large corpus of text and then fine tuned for specific tasks.
51
  Effectively handling customer complaints provides an opportunity for the service provider to resolve the customer’s problems on time and thus reduce dissatisfaction levels.
 
52
  Write a complaint on an insurance product or service and see how the machine learning model is able to Categorisation your Complaint.
53
  The Complaints Type are:
54
  1. Debt Collection
@@ -64,7 +65,7 @@ article = """
64
  """
65
 
66
  demo = gr.Interface(classify_compliant,
67
- inputs=gr.Textbox(lines =10,label = "Type your Complaint of our Product here or for a quick demo click on the examples provided below and output will automatically be populatec in the output box ", max_lines = 20),
68
  outputs = gr.Textbox(lines =5,label = "Complaint Category"),
69
  title = title,
70
  description = description,
 
47
  #build the Gradio app
48
  #Instructuction = "Write an imaginary review about a product or service you might be interested in."
49
  title="Customer Complaints Categorization"
50
+ description = """This application uses fine-tune BERT to perform Customer Complaints Categorization. BERT models are usually pretrained on a large corpus of text and then fine tuned for specific tasks.
51
  Effectively handling customer complaints provides an opportunity for the service provider to resolve the customer’s problems on time and thus reduce dissatisfaction levels.
52
+
53
  Write a complaint on an insurance product or service and see how the machine learning model is able to Categorisation your Complaint.
54
  The Complaints Type are:
55
  1. Debt Collection
 
65
  """
66
 
67
  demo = gr.Interface(classify_compliant,
68
+ inputs=gr.Textbox(lines =10,label = "Type your Complaint of our Product here or for a quick demo click on the examples provided below and output will automatically be populated in the output box ", max_lines = 20),
69
  outputs = gr.Textbox(lines =5,label = "Complaint Category"),
70
  title = title,
71
  description = description,