Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,21 @@ from src.app.predict import ZeroShotTextClassification
|
|
5 |
|
6 |
# Examples to display in the interface
|
7 |
examples = [
|
8 |
-
[
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
]
|
12 |
|
13 |
# Title and description and article for the interface
|
|
|
5 |
|
6 |
# Examples to display in the interface
|
7 |
examples = [
|
8 |
+
[
|
9 |
+
"I have a problem with my iPhone that needs to be resolved asap!",
|
10 |
+
"urgent, not urgent, phone, tablet, computer",
|
11 |
+
False,
|
12 |
+
],
|
13 |
+
[
|
14 |
+
"Angela Merkel is a politician in Germany and leader of the CDU",
|
15 |
+
"politics, economy, entertainment, environment",
|
16 |
+
False,
|
17 |
+
],
|
18 |
+
[
|
19 |
+
"Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!",
|
20 |
+
"refund, legal, faq",
|
21 |
+
True,
|
22 |
+
],
|
23 |
]
|
24 |
|
25 |
# Title and description and article for the interface
|