tanish78 commited on
Commit
146f8d3
·
verified ·
1 Parent(s): 3042a01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ categories_keywords = {
17
  "Job Opportunities": ["job", "opportunity", "career", "vacancy", "position", "employment", "hiring", "recruitment", "internship"],
18
  "Surveys and Forms": ["survey", "form", "forms", "questionnaire", "feedback form", "response", "fill out", "submission"],
19
  "General Queries": ["hello", "hi", "help", "general", "query", "question", "info", "information", "inquiry", "ask"],
20
- "Spam": ["spam", "unsubscribe", "remove", "stop", "junk", "block", "opt-out"],
21
  "Rescheduling and Postponing": ["reschedule", "postpone", "delay", "change date", "new time", "rearrange", "shift", "adjust timing"],
22
  "Contact and Communication Issues": ["contact", "communicate", "communication", "reach out", "phone", "email", "address", "details"],
23
  "Email and Credentials Issues": ["email", "credentials", "login", "password", "access", "username", "account", "verification", "reset"],
@@ -214,7 +214,7 @@ interface = gr.Interface(
214
  fn=main,
215
  inputs=[
216
  gr.File(label="Upload CSV File (.csv)"),
217
- gr.Slider(label="Number of Categories to Display", minimum=1, maximum=10, step=1, value=5)
218
  ],
219
  outputs=[
220
  gr.File(label="Categorized Data CSV"),
 
17
  "Job Opportunities": ["job", "opportunity", "career", "vacancy", "position", "employment", "hiring", "recruitment", "internship"],
18
  "Surveys and Forms": ["survey", "form", "forms", "questionnaire", "feedback form", "response", "fill out", "submission"],
19
  "General Queries": ["hello", "hi", "help", "general", "query", "question", "info", "information", "inquiry", "ask"],
20
+ "Spam": ["spam", "subscribe", "remove", "stop", "junk", "block", "opt-out", "watch my video", "click on this link", "win prize"],
21
  "Rescheduling and Postponing": ["reschedule", "postpone", "delay", "change date", "new time", "rearrange", "shift", "adjust timing"],
22
  "Contact and Communication Issues": ["contact", "communicate", "communication", "reach out", "phone", "email", "address", "details"],
23
  "Email and Credentials Issues": ["email", "credentials", "login", "password", "access", "username", "account", "verification", "reset"],
 
214
  fn=main,
215
  inputs=[
216
  gr.File(label="Upload CSV File (.csv)"),
217
+ gr.Slider(label="Number of Categories to Display", minimum=1, maximum=15, step=1, value=5)
218
  ],
219
  outputs=[
220
  gr.File(label="Categorized Data CSV"),