awacke1 commited on
Commit
0597335
β€’
1 Parent(s): 09bc440

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ documentHTML5='''
15
  </head>
16
  <body>
17
  <h1>πŸ”Š Read It Aloud</h1>
18
- <textarea id="textArea" rows="50" cols="80">
19
 
20
  This is a text passage that will be read aloud if Streamlit wrapping HTML5 wrapping browser based speech works correctly.
21
 
@@ -30,7 +30,7 @@ If all works this html can be nested into a variable and then put into session u
30
 
31
 
32
  import streamlit.components.v1 as components # Import Streamlit
33
- components.html(documentHTML5, width=200, height=200)
34
 
35
 
36
  #st.markdown(documentHTML5, unsafe_allow_html=True)
 
15
  </head>
16
  <body>
17
  <h1>πŸ”Š Read It Aloud</h1>
18
+ <textarea id="textArea" rows="10" cols="80">
19
 
20
  This is a text passage that will be read aloud if Streamlit wrapping HTML5 wrapping browser based speech works correctly.
21
 
 
30
 
31
 
32
  import streamlit.components.v1 as components # Import Streamlit
33
+ components.html(documentHTML5, width=1280, height=1024)
34
 
35
 
36
  #st.markdown(documentHTML5, unsafe_allow_html=True)