awacke1 commited on
Commit
7b2dd92
β€’
1 Parent(s): 917b8ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
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
- documentHTML5 = documentHTML5 + text_to_speak
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