Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
e8884c2b
Commit
e8884c2b
authored
Sep 10, 2022
by
Seki
Committed by
AUTOMATIC1111
Sep 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change "send to "
parent
06fadd2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
script.js
script.js
+10
-0
No files found.
script.js
View file @
e8884c2b
...
@@ -141,6 +141,16 @@ function extract_image_from_gallery(gallery){
...
@@ -141,6 +141,16 @@ function extract_image_from_gallery(gallery){
return
gallery
[
index
];
return
gallery
[
index
];
}
}
function
extract_image_from_gallery_img2img
(
gallery
){
gradioApp
().
querySelectorAll
(
'button'
)[
1
].
click
();
return
extract_image_from_gallery
(
gallery
);
}
function
extract_image_from_gallery_extras
(
gallery
){
gradioApp
().
querySelectorAll
(
'button'
)[
2
].
click
();
return
extract_image_from_gallery
(
gallery
);
}
function
requestProgress
(){
function
requestProgress
(){
btn
=
gradioApp
().
getElementById
(
"check_progress"
);
btn
=
gradioApp
().
getElementById
(
"check_progress"
);
if
(
btn
==
null
)
return
;
if
(
btn
==
null
)
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment