Spaces:
Running
Running
Commit
Β·
87fe8ad
1
Parent(s):
615deca
Fix typo
Browse files- app.py +3 -3
- pages/2_custom_label_demo.py +1 -1
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
st.set_page_config(
|
4 |
-
page_title="
|
5 |
-
page_icon="
|
6 |
)
|
7 |
|
8 |
st.write("# LatinCy Dashboard")
|
@@ -15,7 +15,7 @@ st.markdown(
|
|
15 |
|
16 |
### See the demos
|
17 |
- [Get basic spaCy data from a short text](parsing_demo)
|
18 |
-
- [Visualize a custom span label](custom_label_demo), here tokens covered by the [DCC Core Latin Vocabulary](https://dcc.dickinson.edu/latin-core-list1
|
19 |
"""
|
20 |
)
|
21 |
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
st.set_page_config(
|
4 |
+
page_title="LatinCy Dashboard | Home",
|
5 |
+
page_icon="π ",
|
6 |
)
|
7 |
|
8 |
st.write("# LatinCy Dashboard")
|
|
|
15 |
|
16 |
### See the demos
|
17 |
- [Get basic spaCy data from a short text](parsing_demo)
|
18 |
+
- [Visualize a custom span label](custom_label_demo), here tokens covered by the [DCC Core Latin Vocabulary](https://dcc.dickinson.edu/latin-core-list1)
|
19 |
"""
|
20 |
)
|
21 |
|
pages/2_custom_label_demo.py
CHANGED
@@ -35,7 +35,7 @@ class DCCCoreMerger:
|
|
35 |
doc.spans["dcc_core"].append(Span(doc, start, end, "CORE"))
|
36 |
for span in spans:
|
37 |
for token in span:
|
38 |
-
token._.is_dcc_core = True
|
39 |
return doc
|
40 |
|
41 |
st.title("LatinCy DCC Core Visualizer")
|
|
|
35 |
doc.spans["dcc_core"].append(Span(doc, start, end, "CORE"))
|
36 |
for span in spans:
|
37 |
for token in span:
|
38 |
+
token._.is_dcc_core = True
|
39 |
return doc
|
40 |
|
41 |
st.title("LatinCy DCC Core Visualizer")
|