lnyan's picture
Update files
09c675d
raw
history blame contribute delete
211 Bytes
function(mode){
let app=document.querySelector("gradio-app").shadowRoot;
let frame=app.querySelector("#sdinfframe").contentWindow.document;
frame.querySelector("#mode").value=mode;
return mode;
}