Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ if __name__ == '__main__':
|
|
149 |
advanced_button.click(None, [], [],
|
150 |
_js="""
|
151 |
() => {
|
152 |
-
const options = document.querySelector("body > gradio-app").
|
153 |
options.style.display = ["none", ""].includes(options.style.display) ? "flex" : "none";
|
154 |
}""")
|
155 |
tts_submit.click(tts_fn, [tts_input1, tts_input2, tts_input3, phoneme_input],
|
|
|
149 |
advanced_button.click(None, [], [],
|
150 |
_js="""
|
151 |
() => {
|
152 |
+
const options = document.querySelector("body > gradio-app").querySelector("#advanced-options");
|
153 |
options.style.display = ["none", ""].includes(options.style.display) ? "flex" : "none";
|
154 |
}""")
|
155 |
tts_submit.click(tts_fn, [tts_input1, tts_input2, tts_input3, phoneme_input],
|