Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,11 +33,11 @@ def getAnnotatedFromPOS(texts, labels):
|
|
33 |
def main():
|
34 |
|
35 |
st.title("Part of Speech Categorizer")
|
36 |
-
st.write("Paste or type text, submit and the machine will attempt to identify parts of speech.")
|
37 |
checkpoint = st.selectbox("Choose model", checkpoints)
|
38 |
model = get_model(checkpoint)
|
39 |
|
40 |
-
default_text = "
|
41 |
input_text = st.text_area(
|
42 |
label="Original text",
|
43 |
value=default_text,
|
|
|
33 |
def main():
|
34 |
|
35 |
st.title("Part of Speech Categorizer")
|
36 |
+
st.write("Paste or type text, submit and the machine will attempt to identify parts of speech. Please note that although the machine can read apostrophes, it cannot read other punctuation marks such as commas or periods.")
|
37 |
checkpoint = st.selectbox("Choose model", checkpoints)
|
38 |
model = get_model(checkpoint)
|
39 |
|
40 |
+
default_text = "Please note that although the machine can read apostrophes, it cannot read other punctuation marks such as commas or periods"
|
41 |
input_text = st.text_area(
|
42 |
label="Original text",
|
43 |
value=default_text,
|