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
a958f9b3
Commit
a958f9b3
authored
Oct 07, 2022
by
Jairo Correa
Committed by
AUTOMATIC1111
Oct 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit-attention browser compatibility and readme typo
parent
f7c787eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+1
-1
edit-attention.js
javascript/edit-attention.js
+1
-1
No files found.
README.md
View file @
a958f9b3
...
@@ -16,7 +16,7 @@ Check the [custom scripts](https://github.com/AUTOMATIC1111/stable-diffusion-web
...
@@ -16,7 +16,7 @@ Check the [custom scripts](https://github.com/AUTOMATIC1111/stable-diffusion-web
-
Attention, specify parts of text that the model should pay more attention to
-
Attention, specify parts of text that the model should pay more attention to
-
a man in a ((tuxedo)) - will pay more attention to tuxedo
-
a man in a ((tuxedo)) - will pay more attention to tuxedo
-
a man in a (tuxedo:1.21) - alternative syntax
-
a man in a (tuxedo:1.21) - alternative syntax
-
select text and press ctrl+up or ctrl+down to a
duot
matically adjust attention to selected text
-
select text and press ctrl+up or ctrl+down to a
uto
matically adjust attention to selected text
-
Loopback, run img2img processing multiple times
-
Loopback, run img2img processing multiple times
-
X/Y plot, a way to draw a 2 dimensional plot of images with different parameters
-
X/Y plot, a way to draw a 2 dimensional plot of images with different parameters
-
Textual Inversion
-
Textual Inversion
...
...
javascript/edit-attention.js
View file @
a958f9b3
addEventListener
(
'keydown'
,
(
event
)
=>
{
addEventListener
(
'keydown'
,
(
event
)
=>
{
let
target
=
event
.
originalTarget
;
let
target
=
event
.
originalTarget
||
event
.
composedPath
()[
0
]
;
if
(
!
target
.
hasAttribute
(
"placeholder"
))
return
;
if
(
!
target
.
hasAttribute
(
"placeholder"
))
return
;
if
(
!
target
.
placeholder
.
toLowerCase
().
includes
(
"prompt"
))
return
;
if
(
!
target
.
placeholder
.
toLowerCase
().
includes
(
"prompt"
))
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