Commit
·
44e368b
1
Parent(s):
5f0a85a
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
from helper import comparatives_binding
|
5 |
|
6 |
title = "Comparatives Demo"
|
7 |
-
description = "This is a simple demo just for demonstration purposes for Serco team, to validate the results of the Natural Language module concerning
|
8 |
|
9 |
examples = [
|
10 |
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude > 6.2"],
|
@@ -17,11 +17,8 @@ examples = [
|
|
17 |
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude equal to 6.2"],
|
18 |
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude equivalent to 6.2"],
|
19 |
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude surpassing 6.2"],
|
20 |
-
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude lagging
|
21 |
-
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude that matches 6.2"]
|
22 |
-
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude that is superior of 6.2"],
|
23 |
-
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude that is inferior of 6.2"],
|
24 |
-
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude that is in line with 6.2"]
|
25 |
]
|
26 |
|
27 |
|
|
|
4 |
from helper import comparatives_binding
|
5 |
|
6 |
title = "Comparatives Demo"
|
7 |
+
description = "This is a simple demo just for demonstration purposes for Serco team, to validate the first results of the Natural Language module concerning the identification of comparatives"
|
8 |
|
9 |
examples = [
|
10 |
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude > 6.2"],
|
|
|
17 |
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude equal to 6.2"],
|
18 |
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude equivalent to 6.2"],
|
19 |
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude surpassing 6.2"],
|
20 |
+
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude lagging 6.2"],
|
21 |
+
["I want an earthquake that is located in Rome, Italy on 01/01/23 with magnitude that matches 6.2"]
|
|
|
|
|
|
|
22 |
]
|
23 |
|
24 |
|