File size: 216 Bytes
5704551
 
 
 
 
 
1
2
3
4
5
6
function(mode){
    let app=document.querySelector("gradio-app").shadowRoot;
    let frame=app.querySelector("#sdinfframe").contentWindow.document;
    frame.querySelector("#mode").value=mode;
    return mode;
}