sombochea commited on
Commit
405ce07
·
1 Parent(s): 5ff5fe6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -2
app.py CHANGED
@@ -1,4 +1,17 @@
1
  import streamlit as st
 
2
 
3
- x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ )