Update
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def getAnnotatedFromPOS(texts, labels):
|
|
35 |
|
36 |
def main():
|
37 |
|
38 |
-
st.title("🥖 French
|
39 |
|
40 |
checkpoint = st.selectbox("Choose model", checkpoints)
|
41 |
model = get_model(checkpoint)
|
@@ -66,7 +66,7 @@ def main():
|
|
66 |
|
67 |
st.header("Labels:")
|
68 |
anns = getAnnotatedFromPOS(texts, labels)
|
69 |
-
annotated_text(*anns)
|
70 |
|
71 |
st.header("JSON:")
|
72 |
st.json(getDictFromPOS(texts, labels))
|
|
|
35 |
|
36 |
def main():
|
37 |
|
38 |
+
st.title("🥖 French Part-Of-Speech Tagging")
|
39 |
|
40 |
checkpoint = st.selectbox("Choose model", checkpoints)
|
41 |
model = get_model(checkpoint)
|
|
|
66 |
|
67 |
st.header("Labels:")
|
68 |
anns = getAnnotatedFromPOS(texts, labels)
|
69 |
+
# annotated_text(*anns)
|
70 |
|
71 |
st.header("JSON:")
|
72 |
st.json(getDictFromPOS(texts, labels))
|