Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,17 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
from annotated_text import annotated_text
|
3 |
|
4 |
+
annotated_text(
|
5 |
+
"This ",
|
6 |
+
("is", "verb"),
|
7 |
+
" some ",
|
8 |
+
("annotated", "adj"),
|
9 |
+
("text", "noun"),
|
10 |
+
" for those of ",
|
11 |
+
("you", "pronoun"),
|
12 |
+
" who ",
|
13 |
+
("like", "verb"),
|
14 |
+
" this sort of ",
|
15 |
+
("thing", "noun"),
|
16 |
+
"."
|
17 |
+
)
|