Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,17 +19,14 @@ def generate_speech_textarea(text_to_speak):
|
|
19 |
<body>
|
20 |
<h1>π Read It Aloud</h1>
|
21 |
<textarea id="textArea" rows="10" cols="80" readonly>'''
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
documentHTML5 = documentHTML5 + '''
|
26 |
</textarea>
|
27 |
<br>
|
28 |
<button onclick="readAloud()">π Read Aloud</button>
|
29 |
</body>
|
30 |
</html>
|
31 |
'''
|
32 |
-
|
33 |
components.html(documentHTML5, width=1280, height=1024)
|
34 |
|
35 |
# Game list and associated icons
|
|
|
19 |
<body>
|
20 |
<h1>π Read It Aloud</h1>
|
21 |
<textarea id="textArea" rows="10" cols="80" readonly>'''
|
22 |
+
documentHTML5 = documentHTML5 + text_to_speak
|
23 |
+
documentHTML5 = documentHTML5 + '''
|
|
|
|
|
24 |
</textarea>
|
25 |
<br>
|
26 |
<button onclick="readAloud()">π Read Aloud</button>
|
27 |
</body>
|
28 |
</html>
|
29 |
'''
|
|
|
30 |
components.html(documentHTML5, width=1280, height=1024)
|
31 |
|
32 |
# Game list and associated icons
|