Spaces:
Sleeping
Sleeping
Commit
·
606690b
1
Parent(s):
470f592
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ import gradio as gr
|
|
3 |
|
4 |
from helper import dates_binding
|
5 |
|
6 |
-
title = "
|
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 |
["Earthquake located in Rome, Italy in 01/01/23 with magnitude greater than 6.2"],
|
@@ -14,8 +14,8 @@ examples = [
|
|
14 |
["Earthquake located in Rome, Italy in Jan 1, 23 with magnitude greater than 6.2"],
|
15 |
["Earthquake located in Rome, Italy in 1 January 2023 with magnitude greater than 6.2"],
|
16 |
["Earthquake located in Rome, Italy in 1 Jan 23 with magnitude greater than 6.2"],
|
17 |
-
["Earthquake located in Rome, Italy in January 2023 with magnitude greater than 6.2"]
|
18 |
-
["Earthquake located in Rome, Italy in Jan
|
19 |
]
|
20 |
|
21 |
gr.Interface(
|
|
|
3 |
|
4 |
from helper import dates_binding
|
5 |
|
6 |
+
title = "Date Identification Demo"
|
7 |
+
description = "This is a simple demo just for demonstration purposes for the Serco team, to validate the first results of the Natural Language module concerning the identification of dates"
|
8 |
|
9 |
examples = [
|
10 |
["Earthquake located in Rome, Italy in 01/01/23 with magnitude greater than 6.2"],
|
|
|
14 |
["Earthquake located in Rome, Italy in Jan 1, 23 with magnitude greater than 6.2"],
|
15 |
["Earthquake located in Rome, Italy in 1 January 2023 with magnitude greater than 6.2"],
|
16 |
["Earthquake located in Rome, Italy in 1 Jan 23 with magnitude greater than 6.2"],
|
17 |
+
["Earthquake located in Rome, Italy in January 2023 with magnitude greater than 6.2"]
|
18 |
+
["Earthquake located in Rome, Italy in Jan 2023 with magnitude greater than 6.2"]
|
19 |
]
|
20 |
|
21 |
gr.Interface(
|