kargaranamir commited on
Commit
a5f83bc
1 Parent(s): af6682b

Add Time_ML

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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
- values = model.extract_value(text)
26
  ners = model.extract_bio_dattim(text)
27
 
28
  # display the result
29
- st.markdown("**Spans:**")
30
  st.write(spans)
31
- st.markdown("**Markers:**")
32
  st.write(markers)
33
- st.markdown("**Values:**")
34
- st.write(values)
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)