Spaces:
Sleeping
Sleeping
kargaranamir
commited on
Commit
·
a5f83bc
1
Parent(s):
af6682b
Add Time_ML
Browse files
app.py
CHANGED
@@ -22,15 +22,15 @@ with st.spinner("Processing Text and Extracting..."):
|
|
22 |
# extract markers from the text
|
23 |
spans = model.extract_span(text)
|
24 |
markers = model.extract_marker(text)
|
25 |
-
|
26 |
ners = model.extract_bio_dattim(text)
|
27 |
|
28 |
# display the result
|
29 |
-
st.markdown("**
|
30 |
st.write(spans)
|
31 |
-
st.markdown("**
|
32 |
st.write(markers)
|
33 |
-
st.markdown("**
|
34 |
-
st.write(
|
35 |
st.markdown("**NER:**")
|
36 |
st.write(ners)
|
|
|
22 |
# extract markers from the text
|
23 |
spans = model.extract_span(text)
|
24 |
markers = model.extract_marker(text)
|
25 |
+
time_mls = model.extract_time_ml(text)
|
26 |
ners = model.extract_bio_dattim(text)
|
27 |
|
28 |
# display the result
|
29 |
+
st.markdown("**Span:**")
|
30 |
st.write(spans)
|
31 |
+
st.markdown("**Marker:**")
|
32 |
st.write(markers)
|
33 |
+
st.markdown("**Time_ML:**")
|
34 |
+
st.write(time_mls)
|
35 |
st.markdown("**NER:**")
|
36 |
st.write(ners)
|