Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
5c66fedb
Commit
5c66fedb
authored
May 04, 2023
by
Sakura-Luna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Fix gallery not being refreshed correctly"
This reverts commit
2c24e09d
.
parent
35e5916a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
modules/txt2img.py
modules/txt2img.py
+0
-4
No files found.
modules/txt2img.py
View file @
5c66fedb
...
...
@@ -7,7 +7,6 @@ from modules.shared import opts, cmd_opts
import
modules.shared
as
shared
import
modules.processing
as
processing
from
modules.ui
import
plaintext_to_html
from
time
import
time
def
txt2img
(
id_task
:
str
,
prompt
:
str
,
negative_prompt
:
str
,
prompt_styles
,
steps
:
int
,
sampler_index
:
int
,
restore_faces
:
bool
,
tiling
:
bool
,
n_iter
:
int
,
batch_size
:
int
,
cfg_scale
:
float
,
seed
:
int
,
subseed
:
int
,
subseed_strength
:
float
,
seed_resize_from_h
:
int
,
seed_resize_from_w
:
int
,
seed_enable_extras
:
bool
,
height
:
int
,
width
:
int
,
enable_hr
:
bool
,
denoising_strength
:
float
,
hr_scale
:
float
,
hr_upscaler
:
str
,
hr_second_pass_steps
:
int
,
hr_resize_x
:
int
,
hr_resize_y
:
int
,
override_settings_texts
,
*
args
):
...
...
@@ -64,9 +63,6 @@ def txt2img(id_task: str, prompt: str, negative_prompt: str, prompt_styles, step
if
opts
.
samples_log_stdout
:
print
(
generation_info_js
)
for
img
in
processed
.
images
:
img
.
already_saved_as
+=
f
'?{int(time())}'
if
opts
.
do_not_show_images
:
processed
.
images
=
[]
...
...
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