Spaces:
Runtime error
Runtime error
Update
Browse files
app.py
CHANGED
@@ -194,6 +194,7 @@ function (x)
|
|
194 |
{{
|
195 |
console.log(document.querySelector("gradio-app"));
|
196 |
console.log(document.querySelector("iframe"));
|
|
|
197 |
let frame=document.querySelector("gradio-app").shadowRoot.querySelector("#sdinfframe").contentWindow.document;
|
198 |
let button=frame.querySelector("#{name}");
|
199 |
button.click();
|
|
|
194 |
{{
|
195 |
console.log(document.querySelector("gradio-app"));
|
196 |
console.log(document.querySelector("iframe"));
|
197 |
+
console.log(document.querySelector("#sdinfframe").contentWindow);
|
198 |
let frame=document.querySelector("gradio-app").shadowRoot.querySelector("#sdinfframe").contentWindow.document;
|
199 |
let button=frame.querySelector("#{name}");
|
200 |
button.click();
|