diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-01 18:20:25 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-01 18:20:25 +0000 |
commit | a6adc22f0711c8ab78c6ef8fc78715f815cc750f (patch) | |
tree | 7ea75f4734c023340e7bdf1e2649a1133e5330eb /script.js | |
parent | 54dc6f930761a6a471206b2ba74f1cc73c54789f (diff) | |
download | stable-diffusion-webui-gfx803-a6adc22f0711c8ab78c6ef8fc78715f815cc750f.tar.gz stable-diffusion-webui-gfx803-a6adc22f0711c8ab78c6ef8fc78715f815cc750f.tar.bz2 stable-diffusion-webui-gfx803-a6adc22f0711c8ab78c6ef8fc78715f815cc750f.zip |
added interrupt button
added save button
--always-batch-cond-uncond as a workaround for performance regression option for low memory users
specify gradio version as 3.1.5 because of what looks like a bug
Diffstat (limited to 'script.js')
-rw-r--r-- | script.js | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,3 @@ -console.log("running") - titles = { "Sampling steps": "How many times to imptove the generated image itratively; higher values take longer; very low values can produce bad results", "Sampling method": "Which algorithm to use to produce the image", @@ -29,6 +27,9 @@ titles = { "Inpaint at full resolution": "Upscale masked region to target resolution, do inpainting, downscale back and paste into original image", "Denoising Strength": "Determines how little respect the algorithm should have for image's content. At 0, nothing will change, and at 1 you'll get an unrelated image.", + + "Interrupt": "Stop processing images and return any results accumulated so far.", + "Save": "Write image to a directory (default - log/images) and generation parameters into csv file.", } function gradioApp(){ @@ -36,7 +37,7 @@ function gradioApp(){ } function addTitles(root){ - root.querySelectorAll('span').forEach(function(span){ + root.querySelectorAll('span, button').forEach(function(span){ tooltip = titles[span.textContent]; if(tooltip){ span.title = tooltip; |