Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
lnyan
/
stablediffusion-infinity
like
818
Runtime error
App
Files
Files
Community
45
77c81f7
stablediffusion-infinity
/
js
/
mode.js
lnyan
Update files
09c675d
about 2 years ago
raw
Copy download link
history
blame
Safe
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;
}