Tamakoyu commited on
Commit
6d09f51
·
1 Parent(s): 5792347

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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-{audio_id}").querySelector("audio");
91
- let text = root.querySelector("#input-text-{audio_id}").querySelector("textarea");
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;