File size: 211 Bytes
09c675d
 
 
 
 
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;
}