Sasidhar commited on
Commit
70bb0b4
·
1 Parent(s): a9ae4d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -13
app.py CHANGED
@@ -7,16 +7,18 @@ from annotated_text import annotated_text
7
  Below is an example of how to use the annotated_text function:
8
  """
9
 
10
- annotated_text(
11
- "This ",
12
- ("is", "verb", "#8ef"),
13
- " some ",
14
- ("annotated", "adj", "#faa"),
15
- ("text", "noun", "#afa"),
16
- " for those of ",
17
- ("you", "pronoun", "#fea"),
18
- " who ",
19
- ("like", "verb", "#8ef"),
20
- " this sort of ",
21
- ("thing", "noun", "#afa"),
22
- )
 
 
 
7
  Below is an example of how to use the annotated_text function:
8
  """
9
 
10
+ with st.echo():
11
+ annotated_text(
12
+ "This ",
13
+ ("is", "verb"),
14
+ " some ",
15
+ ("annotated", "adj"),
16
+ ("text", "noun"),
17
+ " for those of ",
18
+ ("you", "pronoun"),
19
+ " who ",
20
+ ("like", "verb"),
21
+ " this sort of ",
22
+ ("thing", "noun"),
23
+ "."
24
+ )