kargaranamir commited on
Commit
2f0be93
1 Parent(s): 46cacbc

fix variable

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -22,10 +22,10 @@ button = st.button("Extract")
22
  with st.spinner("Processing Text and Extracting..."):
23
  if button and text:
24
  # extract markers from the text
25
- spans = model.extract_span(sentence)
26
- markers = model.extract_marker(sentence)
27
- values = model.extract_value(sentence)
28
- ners = model.extract_ner(sentence)
29
 
30
  # display the result
31
  st.markdown("**Spans:**")
 
22
  with st.spinner("Processing Text and Extracting..."):
23
  if button and text:
24
  # extract markers from the text
25
+ spans = model.extract_span(text)
26
+ markers = model.extract_marker(text)
27
+ values = model.extract_value(text)
28
+ ners = model.extract_ner(text)
29
 
30
  # display the result
31
  st.markdown("**Spans:**")