Spaces:
Runtime error
Runtime error
Zeimoto
commited on
Commit
•
2e08dfb
1
Parent(s):
c51d817
new entity labels
Browse files- app.py +1 -1
- resources.py +2 -0
app.py
CHANGED
@@ -41,7 +41,7 @@ def main ():
|
|
41 |
st.write('Entities: ', get_entity_labels(model=ner, text=translation))
|
42 |
loading_elapsedtime = audit_elapsedtime(function="Loading data", start=start_loading)
|
43 |
|
44 |
-
st.write(f"Total elapsed time: {loading_elapsedtime}
|
45 |
|
46 |
|
47 |
if __name__ == "__main__":
|
|
|
41 |
st.write('Entities: ', get_entity_labels(model=ner, text=translation))
|
42 |
loading_elapsedtime = audit_elapsedtime(function="Loading data", start=start_loading)
|
43 |
|
44 |
+
st.write(f"Total elapsed time: {int(loading_elapsedtime/60)} minutes and {loading_elapsedtime%60} seconds")
|
45 |
|
46 |
|
47 |
if __name__ == "__main__":
|
resources.py
CHANGED
@@ -13,6 +13,8 @@ class Lead_Labels (BaseModel):
|
|
13 |
entity_labels = [
|
14 |
"team",
|
15 |
"developer",
|
|
|
|
|
16 |
"amount",
|
17 |
"duration",
|
18 |
"capacity",
|
|
|
13 |
entity_labels = [
|
14 |
"team",
|
15 |
"developer",
|
16 |
+
"technology",
|
17 |
+
"tool",
|
18 |
"amount",
|
19 |
"duration",
|
20 |
"capacity",
|