Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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", "
|
| 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=
|
| 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"),
|