Commit a6adc22f authored by AUTOMATIC's avatar AUTOMATIC

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
parent 54dc6f93
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;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment