Update app.py
Browse files
app.py
CHANGED
@@ -87,8 +87,8 @@ download_audio_js = """
|
|
87 |
let root = document.querySelector("body > gradio-app");
|
88 |
if (root.shadowRoot != null)
|
89 |
root = root.shadowRoot;
|
90 |
-
let audio = root.querySelector("#tts-audio
|
91 |
-
let text = root.querySelector("#input-text
|
92 |
if (audio == undefined)
|
93 |
return;
|
94 |
text = text.value;
|
|
|
87 |
let root = document.querySelector("body > gradio-app");
|
88 |
if (root.shadowRoot != null)
|
89 |
root = root.shadowRoot;
|
90 |
+
let audio = root.querySelector("#tts-audio").querySelector("audio");
|
91 |
+
let text = root.querySelector("#input-text").querySelector("textarea");
|
92 |
if (audio == undefined)
|
93 |
return;
|
94 |
text = text.value;
|