add interrupt to processing

This commit is contained in:
Vladimir Mandic
2023-05-14 12:13:44 -04:00
parent 77eae443b5
commit 85d67d6331
9 changed files with 23 additions and 18 deletions
+2 -1
View File
@@ -93,6 +93,8 @@ svg.feather.feather-image, .feather .feather-image { display: none }
#txt2img_gallery, #img2img_gallery, #extras_gallery { background: black !important; padding: 0; margin: 0; object-fit: contain; box-shadow: none; min-height: 0; }
#txt2img_generate, #img2img_generate { height: 36px; border: none; border-radius: 0; min-height: 36px; padding: 0; }
#txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { height: 36px; min-width: 116px; max-width: 116px; border: none; border-radius: 0; background-color: var(--inactive-color); margin-top: 46px; display: block !important; padding: 0; }
#extras_generate, #extras_interrupt, #extras_skip { border: none; border-radius: 0; background-color: var(--inactive-color); }
#extras_upscale { margin-top: 10px }
#txt2img_progress_row > div { min-width: var(--left-column); max-width: var(--left-column); }
#txt2img_results, #img2img_results, #extras_results { background-color: black; padding: 0; }
#txt2img_seed_row { padding: 0; margin-top: 8px; }
@@ -104,7 +106,6 @@ svg.feather.feather-image, .feather .feather-image { display: none }
#txtimg_hr_finalres { max-width: 200px; }
#pnginfo_html2_info { margin-top: -18px; background-color: var(--input-background-fill); padding: var(--input-padding) }
#txt2img_extra_refresh, #txt2img_extra_close { height: 1.7em; }
#extras_generate { margin-top: 8px; }
/* custom elements overrides */
#steps-animation, #controlnet { border-width: 0; }
+4 -1
View File
@@ -134,7 +134,7 @@ button.custom-button{
position: absolute;
width: 50%;
height: 100%;
display: none;
display: block;
background: #b4c0cc;
}
.gradio-button.generate-box-skip:hover, .gradio-button.generate-box-interrupt:hover{
@@ -644,3 +644,6 @@ footer {
.theme-preview { display: none; position: fixed; border: 4px solid var(--neutral-600); box-shadow: 2px 2px 2px 2px var(--neutral-700); top: 0; bottom: 0; left: 0; right: 0; margin: auto; max-width: 75vw; z-index: 999; }
#scripts_alwayson_txt2img, scripts_alwayson_img2img { display: grid }
#extras_generate, #extras_interrupt, #extras_skip { display: block !important; position: relative; height: 36px; }
#extras_upscale { margin-top: 10px }