Spaces:
Running
Running
Commit
·
2f0be93
1
Parent(s):
46cacbc
fix variable
Browse files
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(
|
26 |
-
markers = model.extract_marker(
|
27 |
-
values = model.extract_value(
|
28 |
-
ners = model.extract_ner(
|
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:**")
|