Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
lnyan
/
stablediffusion-infinity
like
818
Runtime error
App
Files
Files
Community
45
c00251a
stablediffusion-infinity
/
js
/
mode.js
lnyan
Add files
5704551
about 2 years ago
raw
Copy download link
history
blame
Safe
216 Bytes
function
(
mode
){
let
app=
document
.
querySelector
(
"gradio-app"
).
shadowRoot
;
let
frame=app.
querySelector
(
"#sdinfframe"
).
contentWindow
.
document
;
frame.
querySelector
(
"#mode"
).
value
=mode;
return
mode;
}