Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,23 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
st.title('Uber pickups in NYC')
|
| 6 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
| 4 |
+
from annotated_text import annotated_text
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
annotated_text(
|
| 8 |
+
"This ",
|
| 9 |
+
("is", "verb", "#8ef"),
|
| 10 |
+
" some ",
|
| 11 |
+
("annotated", "adj", "#faa"),
|
| 12 |
+
("text", "noun", "#afa"),
|
| 13 |
+
" for those of ",
|
| 14 |
+
("you", "pronoun", "#fea"),
|
| 15 |
+
" who ",
|
| 16 |
+
("like", "verb", "#8ef"),
|
| 17 |
+
" this sort of ",
|
| 18 |
+
("thing", "noun", "#afa"),
|
| 19 |
+
"."
|
| 20 |
+
)
|
| 21 |
|
| 22 |
st.title('Uber pickups in NYC')
|
| 23 |
|