Bradarr's picture
Duplicate from lnyan/stablediffusion-infinity
6988dbd
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;
}