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
67b78f0e
Commit
67b78f0e
authored
Oct 22, 2022
by
yfszzx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inspiration perfected
parent
d93ea5cd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
inspiration.py
modules/inspiration.py
+5
-4
No files found.
modules/inspiration.py
View file @
67b78f0e
...
@@ -160,12 +160,13 @@ def ui(gr, opts, txt2img_prompt, img2img_prompt):
...
@@ -160,12 +160,13 @@ def ui(gr, opts, txt2img_prompt, img2img_prompt):
with
gr
.
Row
():
with
gr
.
Row
():
send_to_txt2img
=
gr
.
Button
(
'to txt2img'
)
send_to_txt2img
=
gr
.
Button
(
'to txt2img'
)
send_to_img2img
=
gr
.
Button
(
'to img2img'
)
send_to_img2img
=
gr
.
Button
(
'to img2img'
)
style_gallery
=
gr
.
Gallery
(
show_label
=
False
)
.
style
(
grid
=
2
,
height
=
'auto'
)
warning
=
gr
.
HTML
()
with
gr
.
Row
():
collect
=
gr
.
Button
(
'Collect'
)
collect
=
gr
.
Button
(
'Collect'
)
give_up
=
gr
.
Button
(
"Don't show again"
)
give_up
=
gr
.
Button
(
"Don't show again"
)
moveout
=
gr
.
Button
(
"Move out"
,
visible
=
False
)
moveout
=
gr
.
Button
(
"Move out"
,
visible
=
False
)
warning
=
gr
.
HTML
()
style_gallery
=
gr
.
Gallery
(
show_label
=
False
)
.
style
(
grid
=
2
,
height
=
'auto'
)
with
gr
.
Row
(
visible
=
False
):
with
gr
.
Row
(
visible
=
False
):
select_button
=
gr
.
Button
(
'set button'
,
elem_id
=
"inspiration_select_button"
)
select_button
=
gr
.
Button
(
'set button'
,
elem_id
=
"inspiration_select_button"
)
...
...
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