Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ documentHTML5='''
|
|
15 |
</head>
|
16 |
<body>
|
17 |
<h1>π Read It Aloud</h1>
|
18 |
-
<textarea id="textArea" rows="
|
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=
|
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)
|