From d07cb46f34b3d9fe7a78b102f899ebef352ea56b Mon Sep 17 00:00:00 2001 From: yfszzx Date: Thu, 20 Oct 2022 23:58:52 +0800 Subject: [PATCH 01/52] inspiration pull request --- .gitignore | 3 +- javascript/imageviewer.js | 1 - javascript/inspiration.js | 42 +++++++++ modules/inspiration.py | 122 +++++++++++++++++++++++++++ modules/shared.py | 1 + modules/ui.py | 13 +-- scripts/create_inspiration_images.py | 45 ++++++++++ webui.py | 5 ++ 8 files changed, 225 insertions(+), 7 deletions(-) create mode 100644 javascript/inspiration.js create mode 100644 modules/inspiration.py create mode 100644 scripts/create_inspiration_images.py diff --git a/.gitignore b/.gitignore index f9c3357c..434d50b7 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,5 @@ __pycache__ notification.mp3 /SwinIR /textual_inversion -.vscode \ No newline at end of file +.vscode +/inspiration \ No newline at end of file diff --git a/javascript/imageviewer.js b/javascript/imageviewer.js index 9e380c65..d4ab6984 100644 --- a/javascript/imageviewer.js +++ b/javascript/imageviewer.js @@ -116,7 +116,6 @@ function showGalleryImage() { e.dataset.modded = true; if(e && e.parentElement.tagName == 'DIV'){ e.style.cursor='pointer' - e.style.userSelect='none' e.addEventListener('click', function (evt) { if(!opts.js_modal_lightbox) return; modalZoomSet(gradioApp().getElementById('modalImage'), opts.js_modal_lightbox_initially_zoomed) diff --git a/javascript/inspiration.js b/javascript/inspiration.js new file mode 100644 index 00000000..e1c0e114 --- /dev/null +++ b/javascript/inspiration.js @@ -0,0 +1,42 @@ +function public_image_index_in_gallery(item, gallery){ + var index; + var i = 0; + gallery.querySelectorAll("img").forEach(function(e){ + if (e == item) + index = i; + i += 1; + }); + return index; +} + +function inspiration_selected(name, types, name_list){ + var btn = gradioApp().getElementById("inspiration_select_button") + return [gradioApp().getElementById("inspiration_select_button").getAttribute("img-index"), types]; +} +var inspiration_image_click = function(){ + var index = public_image_index_in_gallery(this, gradioApp().getElementById("inspiration_gallery")); + var btn = gradioApp().getElementById("inspiration_select_button") + btn.setAttribute("img-index", index) + setTimeout(function(btn){btn.click();}, 10, btn) +} + +document.addEventListener("DOMContentLoaded", function() { + var mutationObserver = new MutationObserver(function(m){ + var gallery = gradioApp().getElementById("inspiration_gallery") + if (gallery) { + var node = gallery.querySelector(".absolute.backdrop-blur.h-full") + if (node) { + node.style.display = "None"; //parentNode.removeChild(node) + } + + gallery.querySelectorAll('img').forEach(function(e){ + e.onclick = inspiration_image_click + }) + + } + + + }); + mutationObserver.observe( gradioApp(), { childList:true, subtree:true }); + +}); diff --git a/modules/inspiration.py b/modules/inspiration.py new file mode 100644 index 00000000..456bfcb5 --- /dev/null +++ b/modules/inspiration.py @@ -0,0 +1,122 @@ +import os +import random +import gradio +inspiration_path = "inspiration" +inspiration_system_path = os.path.join(inspiration_path, "system") +def read_name_list(file): + if not os.path.exists(file): + return [] + f = open(file, "r") + ret = [] + line = f.readline() + while len(line) > 0: + line = line.rstrip("\n") + ret.append(line) + print(ret) + return ret + +def save_name_list(file, name): + print(file) + f = open(file, "a") + f.write(name + "\n") + +def get_inspiration_images(source, types): + path = os.path.join(inspiration_path , types) + if source == "Favorites": + names = read_name_list(os.path.join(inspiration_system_path, types + "_faverites.txt")) + names = random.sample(names, 25) + elif source == "Abandoned": + names = read_name_list(os.path.join(inspiration_system_path, types + "_abondened.txt")) + names = random.sample(names, 25) + elif source == "Exclude abandoned": + abondened = read_name_list(os.path.join(inspiration_system_path, types + "_abondened.txt")) + all_names = os.listdir(path) + names = [] + while len(names) < 25: + name = random.choice(all_names) + if name not in abondened: + names.append(name) + else: + names = random.sample(os.listdir(path), 25) + names = random.sample(names, 25) + image_list = [] + for a in names: + image_path = os.path.join(path, a) + images = os.listdir(image_path) + image_list.append(os.path.join(image_path, random.choice(images))) + return image_list, names + +def select_click(index, types, name_list): + name = name_list[int(index)] + path = os.path.join(inspiration_path, types, name) + images = os.listdir(path) + return name, [os.path.join(path, x) for x in images] + +def give_up_click(name, types): + file = os.path.join(inspiration_system_path, types + "_abandoned.txt") + name_list = read_name_list(file) + if name not in name_list: + save_name_list(file, name) + +def collect_click(name, types): + file = os.path.join(inspiration_system_path, types + "_faverites.txt") + print(file) + name_list = read_name_list(file) + print(name_list) + if name not in name_list: + save_name_list(file, name) + +def moveout_click(name, types): + file = os.path.join(inspiration_system_path, types + "_faverites.txt") + name_list = read_name_list(file) + if name not in name_list: + save_name_list(file, name) + +def source_change(source): + if source == "Abandoned" or source == "Favorites": + return gradio.Button.update(visible=True, value=f"Move out {source}") + else: + return gradio.Button.update(visible=False) + +def ui(gr, opts): + with gr.Blocks(analytics_enabled=False) as inspiration: + flag = os.path.exists(inspiration_path) + if flag: + types = os.listdir(inspiration_path) + types = [x for x in types if x != "system"] + flag = len(types) > 0 + if not flag: + os.mkdir(inspiration_path) + gr.HTML(""" +
" + """) + return inspiration + if not os.path.exists(inspiration_system_path): + os.mkdir(inspiration_system_path) + gallery, names = get_inspiration_images("Exclude abandoned", types[0]) + with gr.Row(): + with gr.Column(scale=2): + inspiration_gallery = gr.Gallery(gallery, show_label=False, elem_id="inspiration_gallery").style(grid=5, height='auto') + with gr.Column(scale=1): + types = gr.Dropdown(choices=types, value=types[0], label="Type", visible=len(types) > 1) + with gr.Row(): + source = gr.Dropdown(choices=["All", "Favorites", "Exclude abandoned", "Abandoned"], value="Exclude abandoned", label="Source") + get_inspiration = gr.Button("Get inspiration") + name = gr.Textbox(show_label=False, interactive=False) + with gr.Row(): + send_to_txt2img = gr.Button('to txt2img') + send_to_img2img = gr.Button('to img2img') + style_gallery = gr.Gallery(show_label=False, elem_id="inspiration_style_gallery").style(grid=2, height='auto') + + collect = gr.Button('Collect') + give_up = gr.Button("Don't show any more") + moveout = gr.Button("Move out", visible=False) + with gr.Row(): + select_button = gr.Button('set button', elem_id="inspiration_select_button") + name_list = gr.State(names) + source.change(source_change, inputs=[source], outputs=[moveout]) + get_inspiration.click(get_inspiration_images, inputs=[source, types], outputs=[inspiration_gallery, name_list]) + select_button.click(select_click, _js="inspiration_selected", inputs=[name, types, name_list], outputs=[name, style_gallery]) + give_up.click(give_up_click, inputs=[name, types], outputs=None) + collect.click(collect_click, inputs=[name, types], outputs=None) + return inspiration diff --git a/modules/shared.py b/modules/shared.py index faede821..ae033710 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -78,6 +78,7 @@ parser.add_argument('--vae-path', type=str, help='Path to Variational Autoencode parser.add_argument("--disable-safe-unpickle", action='store_true', help="disable checking pytorch models for malicious code", default=False) parser.add_argument("--api", action='store_true', help="use api=True to launch the api with the webui") parser.add_argument("--nowebui", action='store_true', help="use api=True to launch the api instead of the webui") +parser.add_argument("--ui-debug-mode", action='store_true', help="Don't load model to quickly launch UI") cmd_opts = parser.parse_args() restricted_opts = [ diff --git a/modules/ui.py b/modules/ui.py index a2dbd41e..6a0a3c3b 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -41,7 +41,8 @@ from modules import prompt_parser from modules.images import save_image import modules.textual_inversion.ui import modules.hypernetworks.ui -import modules.images_history as img_his +import modules.images_history as images_history +import modules.inspiration as inspiration # this is a fix for Windows users. Without it, javascript files will be served with text/html content-type and the browser will not show any UI mimetypes.init() @@ -1082,9 +1083,9 @@ def create_ui(wrap_gradio_gpu_call): upscaling_resize_w = gr.Number(label="Width", value=512, precision=0) upscaling_resize_h = gr.Number(label="Height", value=512, precision=0) upscaling_crop = gr.Checkbox(label='Crop to fit', value=True) - + with gr.Group(): - extras_upscaler_1 = gr.Radio(label='Upscaler 1', elem_id="extras_upscaler_1", choices=[x.name for x in shared.sd_upscalers], value=shared.sd_upscalers[0].name, type="index") + extras_upscaler_1 = gr.Radio(label='Upscaler 1', elem_id="extras_upscaler_1", choices=[x.name for x in shared.sd_upscalers] , value=shared.sd_upscalers[0].name, type="index") with gr.Group(): extras_upscaler_2 = gr.Radio(label='Upscaler 2', elem_id="extras_upscaler_2", choices=[x.name for x in shared.sd_upscalers], value=shared.sd_upscalers[0].name, type="index") @@ -1178,7 +1179,8 @@ def create_ui(wrap_gradio_gpu_call): "i2i":img2img_paste_fields } - images_history = img_his.create_history_tabs(gr, opts, wrap_gradio_call(modules.extras.run_pnginfo), images_history_switch_dict) + browser_interface = images_history.create_history_tabs(gr, opts, wrap_gradio_call(modules.extras.run_pnginfo), images_history_switch_dict) + inspiration_interface = inspiration.ui(gr, opts) with gr.Blocks() as modelmerger_interface: with gr.Row().style(equal_height=False): @@ -1595,7 +1597,8 @@ Requested path was: {f} (img2img_interface, "img2img", "img2img"), (extras_interface, "Extras", "extras"), (pnginfo_interface, "PNG Info", "pnginfo"), - (images_history, "History", "images_history"), + (browser_interface, "History", "images_history"), + (inspiration_interface, "Inspiration", "inspiration"), (modelmerger_interface, "Checkpoint Merger", "modelmerger"), (train_interface, "Train", "ti"), (settings_interface, "Settings", "settings"), diff --git a/scripts/create_inspiration_images.py b/scripts/create_inspiration_images.py new file mode 100644 index 00000000..6a20def8 --- /dev/null +++ b/scripts/create_inspiration_images.py @@ -0,0 +1,45 @@ +import csv, os, shutil +import modules.scripts as scripts +from modules import processing, shared, sd_samplers, images +from modules.processing import Processed + + +class Script(scripts.Script): + def title(self): + return "Create artists style image" + + def show(self, is_img2img): + return not is_img2img + + def ui(self, is_img2img): + return [] + def show(self, is_img2img): + return not is_img2img + + def run(self, p): #, max_snapshoots_num): + path = os.path.join("style_snapshoot", "artist") + if not os.path.exists(path): + os.makedirs(path) + p.do_not_save_samples = True + p.do_not_save_grid = True + p.negative_prompt = "portrait photo" + f = open('artists.csv') + f_csv = csv.reader(f) + for row in f_csv: + name = row[0] + artist_path = os.path.join(path, name) + if not os.path.exists(artist_path): + os.mkdir(artist_path) + if len(os.listdir(artist_path)) > 0: + continue + print(name) + p.prompt = name + processed = processing.process_images(p) + for img in processed.images: + i = 0 + filename = os.path.join(artist_path, format(0, "03d") + ".jpg") + while os.path.exists(filename): + i += 1 + filename = os.path.join(artist_path, format(i, "03d") + ".jpg") + img.save(filename, quality=70) + return processed diff --git a/webui.py b/webui.py index 177bef74..5923905f 100644 --- a/webui.py +++ b/webui.py @@ -72,6 +72,11 @@ def wrap_gradio_gpu_call(func, extra_outputs=None): return modules.ui.wrap_gradio_call(f, extra_outputs=extra_outputs) def initialize(): + if cmd_opts.ui_debug_mode: + class enmpty(): + name = None + shared.sd_upscalers = [enmpty()] + return modelloader.cleanup_models() modules.sd_models.setup_model() codeformer.setup_model(cmd_opts.codeformer_models_path) From bb0f1a2cdae3410a41d06ae878f56e29b8154c41 Mon Sep 17 00:00:00 2001 From: yfszzx Date: Sat, 22 Oct 2022 01:23:00 +0800 Subject: [PATCH 02/52] inspiration finished --- javascript/inspiration.js | 27 +++--- modules/inspiration.py | 192 +++++++++++++++++++++++++------------- modules/shared.py | 6 ++ modules/ui.py | 2 +- webui.py | 3 +- 5 files changed, 151 insertions(+), 79 deletions(-) diff --git a/javascript/inspiration.js b/javascript/inspiration.js index e1c0e114..791a80c9 100644 --- a/javascript/inspiration.js +++ b/javascript/inspiration.js @@ -1,25 +1,31 @@ function public_image_index_in_gallery(item, gallery){ + var imgs = gallery.querySelectorAll("img.h-full") var index; var i = 0; - gallery.querySelectorAll("img").forEach(function(e){ + imgs.forEach(function(e){ if (e == item) index = i; i += 1; }); + var num = imgs.length / 2 + index = (index < num) ? index : (index - num) return index; } -function inspiration_selected(name, types, name_list){ +function inspiration_selected(name, name_list){ var btn = gradioApp().getElementById("inspiration_select_button") - return [gradioApp().getElementById("inspiration_select_button").getAttribute("img-index"), types]; -} + return [gradioApp().getElementById("inspiration_select_button").getAttribute("img-index")]; +} +function inspiration_click_get_button(){ + gradioApp().getElementById("inspiration_get_button").click(); +} var inspiration_image_click = function(){ var index = public_image_index_in_gallery(this, gradioApp().getElementById("inspiration_gallery")); - var btn = gradioApp().getElementById("inspiration_select_button") - btn.setAttribute("img-index", index) - setTimeout(function(btn){btn.click();}, 10, btn) + var btn = gradioApp().getElementById("inspiration_select_button"); + btn.setAttribute("img-index", index); + setTimeout(function(btn){btn.click();}, 10, btn); } - + document.addEventListener("DOMContentLoaded", function() { var mutationObserver = new MutationObserver(function(m){ var gallery = gradioApp().getElementById("inspiration_gallery") @@ -27,11 +33,10 @@ document.addEventListener("DOMContentLoaded", function() { var node = gallery.querySelector(".absolute.backdrop-blur.h-full") if (node) { node.style.display = "None"; //parentNode.removeChild(node) - } - + } gallery.querySelectorAll('img').forEach(function(e){ e.onclick = inspiration_image_click - }) + }); } diff --git a/modules/inspiration.py b/modules/inspiration.py index 456bfcb5..f72ebf3a 100644 --- a/modules/inspiration.py +++ b/modules/inspiration.py @@ -1,122 +1,182 @@ import os import random -import gradio -inspiration_path = "inspiration" -inspiration_system_path = os.path.join(inspiration_path, "system") -def read_name_list(file): +import gradio +from modules.shared import opts +inspiration_system_path = os.path.join(opts.inspiration_dir, "system") +def read_name_list(file, types=None, keyword=None): if not os.path.exists(file): return [] - f = open(file, "r") ret = [] + f = open(file, "r") line = f.readline() while len(line) > 0: line = line.rstrip("\n") - ret.append(line) - print(ret) + if types is not None: + dirname = os.path.split(line) + if dirname[0] in types and keyword in dirname[1]: + ret.append(line) + else: + ret.append(line) + line = f.readline() return ret def save_name_list(file, name): - print(file) - f = open(file, "a") - f.write(name + "\n") + with open(file, "a") as f: + f.write(name + "\n") -def get_inspiration_images(source, types): - path = os.path.join(inspiration_path , types) +def get_types_list(): + files = os.listdir(opts.inspiration_dir) + types = [] + for x in files: + path = os.path.join(opts.inspiration_dir, x) + if x[0] == ".": + continue + if not os.path.isdir(path): + continue + if path == inspiration_system_path: + continue + types.append(x) + return types + +def get_inspiration_images(source, types, keyword): + get_num = int(opts.inspiration_rows_num * opts.inspiration_cols_num) if source == "Favorites": - names = read_name_list(os.path.join(inspiration_system_path, types + "_faverites.txt")) - names = random.sample(names, 25) + names = read_name_list(os.path.join(inspiration_system_path, "faverites.txt"), types, keyword) + names = random.sample(names, get_num) if len(names) > get_num else names elif source == "Abandoned": - names = read_name_list(os.path.join(inspiration_system_path, types + "_abondened.txt")) - names = random.sample(names, 25) - elif source == "Exclude abandoned": - abondened = read_name_list(os.path.join(inspiration_system_path, types + "_abondened.txt")) - all_names = os.listdir(path) - names = [] - while len(names) < 25: - name = random.choice(all_names) - if name not in abondened: - names.append(name) + names = read_name_list(os.path.join(inspiration_system_path, "abandoned.txt"), types, keyword) + print(names) + names = random.sample(names, get_num) if len(names) > get_num else names + elif source == "Exclude abandoned": + abandoned = read_name_list(os.path.join(inspiration_system_path, "abandoned.txt"), types, keyword) + all_names = [] + for tp in types: + name_list = os.listdir(os.path.join(opts.inspiration_dir, tp)) + all_names += [os.path.join(tp, x) for x in name_list if keyword in x] + + if len(all_names) > get_num: + names = [] + while len(names) < get_num: + name = random.choice(all_names) + if name not in abandoned: + names.append(name) + else: + names = all_names else: - names = random.sample(os.listdir(path), 25) - names = random.sample(names, 25) + all_names = [] + for tp in types: + name_list = os.listdir(os.path.join(opts.inspiration_dir, tp)) + all_names += [os.path.join(tp, x) for x in name_list if keyword in x] + names = random.sample(all_names, get_num) if len(all_names) > get_num else all_names image_list = [] for a in names: - image_path = os.path.join(path, a) + image_path = os.path.join(opts.inspiration_dir, a) images = os.listdir(image_path) - image_list.append(os.path.join(image_path, random.choice(images))) - return image_list, names + image_list.append((os.path.join(image_path, random.choice(images)), a)) + return image_list, names, "" -def select_click(index, types, name_list): +def select_click(index, name_list): name = name_list[int(index)] - path = os.path.join(inspiration_path, types, name) + path = os.path.join(opts.inspiration_dir, name) images = os.listdir(path) - return name, [os.path.join(path, x) for x in images] + return name, [os.path.join(path, x) for x in images], "" -def give_up_click(name, types): - file = os.path.join(inspiration_system_path, types + "_abandoned.txt") +def give_up_click(name): + file = os.path.join(inspiration_system_path, "abandoned.txt") name_list = read_name_list(file) if name not in name_list: save_name_list(file, name) + return "Added to abandoned list" -def collect_click(name, types): - file = os.path.join(inspiration_system_path, types + "_faverites.txt") - print(file) +def collect_click(name): + file = os.path.join(inspiration_system_path, "faverites.txt") name_list = read_name_list(file) - print(name_list) if name not in name_list: save_name_list(file, name) + return "Added to faverite list" -def moveout_click(name, types): - file = os.path.join(inspiration_system_path, types + "_faverites.txt") +def moveout_click(name, source): + if source == "Abandoned": + file = os.path.join(inspiration_system_path, "abandoned.txt") + if source == "Favorites": + file = os.path.join(inspiration_system_path, "faverites.txt") + else: + return None name_list = read_name_list(file) - if name not in name_list: - save_name_list(file, name) + os.remove(file) + with open(file, "a") as f: + for a in name_list: + if a != name: + f.write(a) + return "Moved out {name} from {source} list" def source_change(source): - if source == "Abandoned" or source == "Favorites": - return gradio.Button.update(visible=True, value=f"Move out {source}") + if source in ["Abandoned", "Favorites"]: + return gradio.update(visible=True), [] else: - return gradio.Button.update(visible=False) + return gradio.update(visible=False), [] +def add_to_prompt(name, prompt): + print(name, prompt) + name = os.path.basename(name) + return prompt + "," + name -def ui(gr, opts): +def ui(gr, opts, txt2img_prompt, img2img_prompt): with gr.Blocks(analytics_enabled=False) as inspiration: - flag = os.path.exists(inspiration_path) + flag = os.path.exists(opts.inspiration_dir) if flag: - types = os.listdir(inspiration_path) - types = [x for x in types if x != "system"] + types = get_types_list() flag = len(types) > 0 - if not flag: - os.mkdir(inspiration_path) + else: + os.makedirs(opts.inspiration_dir) + if not flag: gr.HTML(""" -
" +

To activate inspiration function, you need get "inspiration" images first.


+ You can create these images by run "Create inspiration images" script in txt2img page,
you can get the artists or art styles list from here
+ https://github.com/pharmapsychotic/clip-interrogator/tree/main/data
+ download these files, and select these files in the "Create inspiration images" script UI
+ There about 6000 artists and art styles in these files.
This takes server hours depending on your GPU type and how many pictures you generate for each artist/style +
I suggest at least four images for each


+

You can also download generated pictures from here:


+ https://huggingface.co/datasets/yfszzx/inspiration
+ unzip the file to the project directory of webui
+ and restart webui, and enjoy the joy of creation!
""") return inspiration if not os.path.exists(inspiration_system_path): os.mkdir(inspiration_system_path) - gallery, names = get_inspiration_images("Exclude abandoned", types[0]) with gr.Row(): with gr.Column(scale=2): - inspiration_gallery = gr.Gallery(gallery, show_label=False, elem_id="inspiration_gallery").style(grid=5, height='auto') + inspiration_gallery = gr.Gallery(show_label=False, elem_id="inspiration_gallery").style(grid=opts.inspiration_cols_num, height='auto') with gr.Column(scale=1): - types = gr.Dropdown(choices=types, value=types[0], label="Type", visible=len(types) > 1) + print(types) + types = gr.CheckboxGroup(choices=types, value=types) + keyword = gr.Textbox("", label="Key word") with gr.Row(): source = gr.Dropdown(choices=["All", "Favorites", "Exclude abandoned", "Abandoned"], value="Exclude abandoned", label="Source") - get_inspiration = gr.Button("Get inspiration") + get_inspiration = gr.Button("Get inspiration", elem_id="inspiration_get_button") name = gr.Textbox(show_label=False, interactive=False) with gr.Row(): send_to_txt2img = gr.Button('to txt2img') send_to_img2img = gr.Button('to img2img') - style_gallery = gr.Gallery(show_label=False, elem_id="inspiration_style_gallery").style(grid=2, height='auto') - + style_gallery = gr.Gallery(show_label=False).style(grid=2, height='auto') collect = gr.Button('Collect') - give_up = gr.Button("Don't show any more") + give_up = gr.Button("Don't show again") moveout = gr.Button("Move out", visible=False) - with gr.Row(): + warning = gr.HTML() + with gr.Row(visible=False): select_button = gr.Button('set button', elem_id="inspiration_select_button") - name_list = gr.State(names) - source.change(source_change, inputs=[source], outputs=[moveout]) - get_inspiration.click(get_inspiration_images, inputs=[source, types], outputs=[inspiration_gallery, name_list]) - select_button.click(select_click, _js="inspiration_selected", inputs=[name, types, name_list], outputs=[name, style_gallery]) - give_up.click(give_up_click, inputs=[name, types], outputs=None) - collect.click(collect_click, inputs=[name, types], outputs=None) + name_list = gr.State() + + get_inspiration.click(get_inspiration_images, inputs=[source, types, keyword], outputs=[inspiration_gallery, name_list, keyword]) + source.change(source_change, inputs=[source], outputs=[moveout, style_gallery]) + source.change(fn=None, _js="inspiration_click_get_button", inputs=None, outputs=None) + keyword.submit(fn=None, _js="inspiration_click_get_button", inputs=None, outputs=None) + select_button.click(select_click, _js="inspiration_selected", inputs=[name, name_list], outputs=[name, style_gallery, warning]) + give_up.click(give_up_click, inputs=[name], outputs=[warning]) + collect.click(collect_click, inputs=[name], outputs=[warning]) + moveout.click(moveout_click, inputs=[name, source], outputs=[warning]) + send_to_txt2img.click(add_to_prompt, inputs=[name, txt2img_prompt], outputs=[txt2img_prompt]) + send_to_img2img.click(add_to_prompt, inputs=[name, img2img_prompt], outputs=[img2img_prompt]) + send_to_txt2img.click(None, _js='switch_to_txt2img', inputs=None, outputs=None) + send_to_img2img.click(None, _js="switch_to_img2img_img2img", inputs=None, outputs=None) return inspiration diff --git a/modules/shared.py b/modules/shared.py index ae033710..564b1b8d 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -316,6 +316,12 @@ options_templates.update(options_section(('sampler-params', "Sampler parameters" 'eta_noise_seed_delta': OptionInfo(0, "Eta noise seed delta", gr.Number, {"precision": 0}), })) +options_templates.update(options_section(('inspiration', "Inspiration"), { + "inspiration_dir": OptionInfo("inspiration", "Directory of inspiration", component_args=hide_dirs), + "inspiration_max_samples": OptionInfo(4, "Maximum number of samples, used to determine which folders to skip when continue running the create script", gr.Slider, {"minimum": 1, "maximum": 20, "step": 1}), + "inspiration_rows_num": OptionInfo(4, "Rows of inspiration interface frame", gr.Slider, {"minimum": 4, "maximum": 16, "step": 1}), + "inspiration_cols_num": OptionInfo(8, "Columns of inspiration interface frame", gr.Slider, {"minimum": 4, "maximum": 16, "step": 1}), +})) class Options: data = None diff --git a/modules/ui.py b/modules/ui.py index 6a0a3c3b..b651eb9c 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -1180,7 +1180,7 @@ def create_ui(wrap_gradio_gpu_call): } browser_interface = images_history.create_history_tabs(gr, opts, wrap_gradio_call(modules.extras.run_pnginfo), images_history_switch_dict) - inspiration_interface = inspiration.ui(gr, opts) + inspiration_interface = inspiration.ui(gr, opts, txt2img_prompt, img2img_prompt) with gr.Blocks() as modelmerger_interface: with gr.Row().style(equal_height=False): diff --git a/webui.py b/webui.py index 5923905f..5ccae715 100644 --- a/webui.py +++ b/webui.py @@ -72,6 +72,7 @@ def wrap_gradio_gpu_call(func, extra_outputs=None): return modules.ui.wrap_gradio_call(f, extra_outputs=extra_outputs) def initialize(): + modules.scripts.load_scripts(os.path.join(script_path, "scripts")) if cmd_opts.ui_debug_mode: class enmpty(): name = None @@ -84,7 +85,7 @@ def initialize(): shared.face_restorers.append(modules.face_restoration.FaceRestoration()) modelloader.load_upscalers() - modules.scripts.load_scripts(os.path.join(script_path, "scripts")) + shared.sd_model = modules.sd_models.load_model() shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: modules.sd_models.reload_model_weights(shared.sd_model))) From 2797b2cbf29a928ea84522d8d9478d47c7feede9 Mon Sep 17 00:00:00 2001 From: yfszzx Date: Sat, 22 Oct 2022 01:28:02 +0800 Subject: [PATCH 03/52] inspiration finished --- javascript/imageviewer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/javascript/imageviewer.js b/javascript/imageviewer.js index d4ab6984..9e380c65 100644 --- a/javascript/imageviewer.js +++ b/javascript/imageviewer.js @@ -116,6 +116,7 @@ function showGalleryImage() { e.dataset.modded = true; if(e && e.parentElement.tagName == 'DIV'){ e.style.cursor='pointer' + e.style.userSelect='none' e.addEventListener('click', function (evt) { if(!opts.js_modal_lightbox) return; modalZoomSet(gradioApp().getElementById('modalImage'), opts.js_modal_lightbox_initially_zoomed) From 58ee008f0f559a947cc280a552d97050e638d611 Mon Sep 17 00:00:00 2001 From: yfszzx Date: Sat, 22 Oct 2022 01:30:12 +0800 Subject: [PATCH 04/52] inspiration finished --- scripts/create_inspiration_images.py | 76 ++++++++++++++++------------ 1 file changed, 44 insertions(+), 32 deletions(-) diff --git a/scripts/create_inspiration_images.py b/scripts/create_inspiration_images.py index 6a20def8..2fd30578 100644 --- a/scripts/create_inspiration_images.py +++ b/scripts/create_inspiration_images.py @@ -2,44 +2,56 @@ import csv, os, shutil import modules.scripts as scripts from modules import processing, shared, sd_samplers, images from modules.processing import Processed - - +from modules.shared import opts +import gradio class Script(scripts.Script): def title(self): - return "Create artists style image" + return "Create inspiration images" def show(self, is_img2img): - return not is_img2img + return True def ui(self, is_img2img): - return [] - def show(self, is_img2img): - return not is_img2img + file = gradio.Files(label="Artist or styles name list. '.txt' files with one name per line",) + with gradio.Row(): + prefix = gradio.Textbox("a painting in", label="Prompt words before artist or style name", file_count="multiple") + suffix= gradio.Textbox("style", label="Prompt words after artist or style name") + negative_prompt = gradio.Textbox("picture frame, portrait photo", label="Negative Prompt") + with gradio.Row(): + batch_size = gradio.Number(1, label="Batch size") + batch_count = gradio.Number(2, label="Batch count") + return [batch_size, batch_count, prefix, suffix, negative_prompt, file] - def run(self, p): #, max_snapshoots_num): - path = os.path.join("style_snapshoot", "artist") - if not os.path.exists(path): - os.makedirs(path) + def run(self, p, batch_size, batch_count, prefix, suffix, negative_prompt, files): + p.batch_size = int(batch_size) + p.n_iterint = int(batch_count) + p.negative_prompt = negative_prompt p.do_not_save_samples = True - p.do_not_save_grid = True - p.negative_prompt = "portrait photo" - f = open('artists.csv') - f_csv = csv.reader(f) - for row in f_csv: - name = row[0] - artist_path = os.path.join(path, name) - if not os.path.exists(artist_path): - os.mkdir(artist_path) - if len(os.listdir(artist_path)) > 0: - continue - print(name) - p.prompt = name - processed = processing.process_images(p) - for img in processed.images: - i = 0 - filename = os.path.join(artist_path, format(0, "03d") + ".jpg") - while os.path.exists(filename): - i += 1 - filename = os.path.join(artist_path, format(i, "03d") + ".jpg") - img.save(filename, quality=70) + p.do_not_save_grid = True + for file in files: + tp = file.orig_name.split(".")[0] + print(tp) + path = os.path.join(opts.inspiration_dir, tp) + if not os.path.exists(path): + os.makedirs(path) + f = open(file.name, "r") + line = f.readline() + while len(line) > 0: + name = line.rstrip("\n").split(",")[0] + line = f.readline() + artist_path = os.path.join(path, name) + if not os.path.exists(artist_path): + os.mkdir(artist_path) + if len(os.listdir(artist_path)) >= opts.inspiration_max_samples: + continue + p.prompt = f"{prefix} {name} {suffix}" + print(p.prompt) + processed = processing.process_images(p) + for img in processed.images: + i = 0 + filename = os.path.join(artist_path, format(0, "03d") + ".jpg") + while os.path.exists(filename): + i += 1 + filename = os.path.join(artist_path, format(i, "03d") + ".jpg") + img.save(filename, quality=80) return processed From 40ddb6df61564684263c7442bacf61efe3882b87 Mon Sep 17 00:00:00 2001 From: yfszzx Date: Sat, 22 Oct 2022 10:16:22 +0800 Subject: [PATCH 05/52] inspiration perfected --- javascript/inspiration.js | 19 ++++++----- modules/inspiration.py | 71 +++++++++++++++++++++------------------ 2 files changed, 49 insertions(+), 41 deletions(-) diff --git a/javascript/inspiration.js b/javascript/inspiration.js index 791a80c9..39844544 100644 --- a/javascript/inspiration.js +++ b/javascript/inspiration.js @@ -1,5 +1,5 @@ function public_image_index_in_gallery(item, gallery){ - var imgs = gallery.querySelectorAll("img.h-full") + var imgs = gallery.querySelectorAll("img.h-full") var index; var i = 0; imgs.forEach(function(e){ @@ -7,18 +7,23 @@ function public_image_index_in_gallery(item, gallery){ index = i; i += 1; }); - var num = imgs.length / 2 - index = (index < num) ? index : (index - num) + var all_imgs = gallery.querySelectorAll("img") + if (all_imgs.length > imgs.length){ + var num = imgs.length / 2 + index = (index < num) ? index : (index - num) + } return index; } function inspiration_selected(name, name_list){ var btn = gradioApp().getElementById("inspiration_select_button") return [gradioApp().getElementById("inspiration_select_button").getAttribute("img-index")]; -} +} + function inspiration_click_get_button(){ gradioApp().getElementById("inspiration_get_button").click(); } + var inspiration_image_click = function(){ var index = public_image_index_in_gallery(this, gradioApp().getElementById("inspiration_gallery")); var btn = gradioApp().getElementById("inspiration_select_button"); @@ -32,16 +37,12 @@ document.addEventListener("DOMContentLoaded", function() { if (gallery) { var node = gallery.querySelector(".absolute.backdrop-blur.h-full") if (node) { - node.style.display = "None"; //parentNode.removeChild(node) + node.style.display = "None"; } gallery.querySelectorAll('img').forEach(function(e){ e.onclick = inspiration_image_click }); - } - - }); mutationObserver.observe( gradioApp(), { childList:true, subtree:true }); - }); diff --git a/modules/inspiration.py b/modules/inspiration.py index f72ebf3a..319183ab 100644 --- a/modules/inspiration.py +++ b/modules/inspiration.py @@ -13,7 +13,7 @@ def read_name_list(file, types=None, keyword=None): line = line.rstrip("\n") if types is not None: dirname = os.path.split(line) - if dirname[0] in types and keyword in dirname[1]: + if dirname[0] in types and keyword in dirname[1].lower(): ret.append(line) else: ret.append(line) @@ -21,8 +21,10 @@ def read_name_list(file, types=None, keyword=None): return ret def save_name_list(file, name): - with open(file, "a") as f: - f.write(name + "\n") + name_list = read_name_list(file) + if name not in name_list: + with open(file, "a") as f: + f.write(name + "\n") def get_types_list(): files = os.listdir(opts.inspiration_dir) @@ -39,20 +41,20 @@ def get_types_list(): return types def get_inspiration_images(source, types, keyword): + keyword = keyword.strip(" ").lower() get_num = int(opts.inspiration_rows_num * opts.inspiration_cols_num) if source == "Favorites": names = read_name_list(os.path.join(inspiration_system_path, "faverites.txt"), types, keyword) names = random.sample(names, get_num) if len(names) > get_num else names elif source == "Abandoned": names = read_name_list(os.path.join(inspiration_system_path, "abandoned.txt"), types, keyword) - print(names) names = random.sample(names, get_num) if len(names) > get_num else names elif source == "Exclude abandoned": abandoned = read_name_list(os.path.join(inspiration_system_path, "abandoned.txt"), types, keyword) all_names = [] for tp in types: name_list = os.listdir(os.path.join(opts.inspiration_dir, tp)) - all_names += [os.path.join(tp, x) for x in name_list if keyword in x] + all_names += [os.path.join(tp, x) for x in name_list if keyword in x.lower()] if len(all_names) > get_num: names = [] @@ -66,14 +68,14 @@ def get_inspiration_images(source, types, keyword): all_names = [] for tp in types: name_list = os.listdir(os.path.join(opts.inspiration_dir, tp)) - all_names += [os.path.join(tp, x) for x in name_list if keyword in x] + all_names += [os.path.join(tp, x) for x in name_list if keyword in x.lower()] names = random.sample(all_names, get_num) if len(all_names) > get_num else all_names image_list = [] for a in names: image_path = os.path.join(opts.inspiration_dir, a) images = os.listdir(image_path) image_list.append((os.path.join(image_path, random.choice(images)), a)) - return image_list, names, "" + return image_list, names def select_click(index, name_list): name = name_list[int(index)] @@ -83,22 +85,18 @@ def select_click(index, name_list): def give_up_click(name): file = os.path.join(inspiration_system_path, "abandoned.txt") - name_list = read_name_list(file) - if name not in name_list: - save_name_list(file, name) + save_name_list(file, name) return "Added to abandoned list" def collect_click(name): file = os.path.join(inspiration_system_path, "faverites.txt") - name_list = read_name_list(file) - if name not in name_list: - save_name_list(file, name) + save_name_list(file, name) return "Added to faverite list" def moveout_click(name, source): if source == "Abandoned": file = os.path.join(inspiration_system_path, "abandoned.txt") - if source == "Favorites": + elif source == "Favorites": file = os.path.join(inspiration_system_path, "faverites.txt") else: return None @@ -107,8 +105,8 @@ def moveout_click(name, source): with open(file, "a") as f: for a in name_list: if a != name: - f.write(a) - return "Moved out {name} from {source} list" + f.write(a + "\n") + return f"Moved out {name} from {source} list" def source_change(source): if source in ["Abandoned", "Favorites"]: @@ -116,10 +114,12 @@ def source_change(source): else: return gradio.update(visible=False), [] def add_to_prompt(name, prompt): - print(name, prompt) name = os.path.basename(name) return prompt + "," + name +def clear_keyword(): + return "" + def ui(gr, opts, txt2img_prompt, img2img_prompt): with gr.Blocks(analytics_enabled=False) as inspiration: flag = os.path.exists(opts.inspiration_dir) @@ -132,15 +132,15 @@ def ui(gr, opts, txt2img_prompt, img2img_prompt): gr.HTML("""

To activate inspiration function, you need get "inspiration" images first.


You can create these images by run "Create inspiration images" script in txt2img page,
you can get the artists or art styles list from here
- https://github.com/pharmapsychotic/clip-interrogator/tree/main/data
+ https://github.com/pharmapsychotic/clip-interrogator/tree/main/data
download these files, and select these files in the "Create inspiration images" script UI
There about 6000 artists and art styles in these files.
This takes server hours depending on your GPU type and how many pictures you generate for each artist/style
I suggest at least four images for each


You can also download generated pictures from here:


- https://huggingface.co/datasets/yfszzx/inspiration
+ https://huggingface.co/datasets/yfszzx/inspiration
unzip the file to the project directory of webui
and restart webui, and enjoy the joy of creation!
- """) + """) return inspiration if not os.path.exists(inspiration_system_path): os.mkdir(inspiration_system_path) @@ -148,35 +148,42 @@ def ui(gr, opts, txt2img_prompt, img2img_prompt): with gr.Column(scale=2): inspiration_gallery = gr.Gallery(show_label=False, elem_id="inspiration_gallery").style(grid=opts.inspiration_cols_num, height='auto') with gr.Column(scale=1): - print(types) types = gr.CheckboxGroup(choices=types, value=types) - keyword = gr.Textbox("", label="Key word") - with gr.Row(): - source = gr.Dropdown(choices=["All", "Favorites", "Exclude abandoned", "Abandoned"], value="Exclude abandoned", label="Source") - get_inspiration = gr.Button("Get inspiration", elem_id="inspiration_get_button") - name = gr.Textbox(show_label=False, interactive=False) with gr.Row(): + source = gr.Dropdown(choices=["All", "Favorites", "Exclude abandoned", "Abandoned"], value="Exclude abandoned", label="Source") + keyword = gr.Textbox("", label="Key word") + get_inspiration = gr.Button("Get inspiration", elem_id="inspiration_get_button") + name = gr.Textbox(show_label=False, interactive=False) + with gr.Row(): send_to_txt2img = gr.Button('to txt2img') send_to_img2img = gr.Button('to img2img') style_gallery = gr.Gallery(show_label=False).style(grid=2, height='auto') - collect = gr.Button('Collect') - give_up = gr.Button("Don't show again") - moveout = gr.Button("Move out", visible=False) warning = gr.HTML() + with gr.Row(): + collect = gr.Button('Collect') + give_up = gr.Button("Don't show again") + moveout = gr.Button("Move out", visible=False) + with gr.Row(visible=False): select_button = gr.Button('set button', elem_id="inspiration_select_button") name_list = gr.State() - get_inspiration.click(get_inspiration_images, inputs=[source, types, keyword], outputs=[inspiration_gallery, name_list, keyword]) - source.change(source_change, inputs=[source], outputs=[moveout, style_gallery]) - source.change(fn=None, _js="inspiration_click_get_button", inputs=None, outputs=None) + get_inspiration.click(get_inspiration_images, inputs=[source, types, keyword], outputs=[inspiration_gallery, name_list]) keyword.submit(fn=None, _js="inspiration_click_get_button", inputs=None, outputs=None) + source.change(source_change, inputs=[source], outputs=[moveout, style_gallery]) + source.change(fn=clear_keyword, _js="inspiration_click_get_button", inputs=None, outputs=[keyword]) + types.change(fn=clear_keyword, _js="inspiration_click_get_button", inputs=None, outputs=[keyword]) + select_button.click(select_click, _js="inspiration_selected", inputs=[name, name_list], outputs=[name, style_gallery, warning]) give_up.click(give_up_click, inputs=[name], outputs=[warning]) collect.click(collect_click, inputs=[name], outputs=[warning]) moveout.click(moveout_click, inputs=[name, source], outputs=[warning]) + moveout.click(fn=None, _js="inspiration_click_get_button", inputs=None, outputs=None) + send_to_txt2img.click(add_to_prompt, inputs=[name, txt2img_prompt], outputs=[txt2img_prompt]) send_to_img2img.click(add_to_prompt, inputs=[name, img2img_prompt], outputs=[img2img_prompt]) + send_to_txt2img.click(collect_click, inputs=[name], outputs=[warning]) + send_to_img2img.click(collect_click, inputs=[name], outputs=[warning]) send_to_txt2img.click(None, _js='switch_to_txt2img', inputs=None, outputs=None) send_to_img2img.click(None, _js="switch_to_img2img_img2img", inputs=None, outputs=None) return inspiration From d93ea5cdeb2fd3607b7265271ccab2c9bf4c1156 Mon Sep 17 00:00:00 2001 From: yfszzx Date: Sat, 22 Oct 2022 10:21:21 +0800 Subject: [PATCH 06/52] inspiration perfected --- modules/inspiration.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/inspiration.py b/modules/inspiration.py index 319183ab..94ff139a 100644 --- a/modules/inspiration.py +++ b/modules/inspiration.py @@ -73,8 +73,11 @@ def get_inspiration_images(source, types, keyword): image_list = [] for a in names: image_path = os.path.join(opts.inspiration_dir, a) - images = os.listdir(image_path) - image_list.append((os.path.join(image_path, random.choice(images)), a)) + images = os.listdir(image_path) + if len(images) > 0: + image_list.append((os.path.join(image_path, random.choice(images)), a)) + else: + print(image_path) return image_list, names def select_click(index, name_list): From 67b78f0ea6f196bfdca49932da062631bb40d0b1 Mon Sep 17 00:00:00 2001 From: yfszzx Date: Sat, 22 Oct 2022 10:29:23 +0800 Subject: [PATCH 07/52] inspiration perfected --- modules/inspiration.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/inspiration.py b/modules/inspiration.py index 94ff139a..29cf8297 100644 --- a/modules/inspiration.py +++ b/modules/inspiration.py @@ -160,12 +160,13 @@ def ui(gr, opts, txt2img_prompt, img2img_prompt): with gr.Row(): send_to_txt2img = gr.Button('to txt2img') 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') 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): select_button = gr.Button('set button', elem_id="inspiration_select_button") From 124e44cf1eed1edc68954f63a2a9bc428aabbcec Mon Sep 17 00:00:00 2001 From: yfszzx Date: Mon, 24 Oct 2022 09:51:56 +0800 Subject: [PATCH 08/52] remove browser to extension --- .gitignore | 1 - javascript/images_history.js | 200 ----------------- javascript/inspiration.js | 48 ---- modules/images_history.py | 424 ----------------------------------- modules/inspiration.py | 193 ---------------- modules/script_callbacks.py | 2 - modules/shared.py | 15 -- modules/ui.py | 20 +- 8 files changed, 4 insertions(+), 899 deletions(-) delete mode 100644 javascript/images_history.js delete mode 100644 javascript/inspiration.js delete mode 100644 modules/images_history.py delete mode 100644 modules/inspiration.py diff --git a/.gitignore b/.gitignore index 8d01bc6a..70660c51 100644 --- a/.gitignore +++ b/.gitignore @@ -29,5 +29,4 @@ notification.mp3 /textual_inversion .vscode /extensions - /inspiration diff --git a/javascript/images_history.js b/javascript/images_history.js deleted file mode 100644 index c9aa76f8..00000000 --- a/javascript/images_history.js +++ /dev/null @@ -1,200 +0,0 @@ -var images_history_click_image = function(){ - if (!this.classList.contains("transform")){ - var gallery = images_history_get_parent_by_class(this, "images_history_cantainor"); - var buttons = gallery.querySelectorAll(".gallery-item"); - var i = 0; - var hidden_list = []; - buttons.forEach(function(e){ - if (e.style.display == "none"){ - hidden_list.push(i); - } - i += 1; - }) - if (hidden_list.length > 0){ - setTimeout(images_history_hide_buttons, 10, hidden_list, gallery); - } - } - images_history_set_image_info(this); -} - -function images_history_disabled_del(){ - gradioApp().querySelectorAll(".images_history_del_button").forEach(function(btn){ - btn.setAttribute('disabled','disabled'); - }); -} - -function images_history_get_parent_by_class(item, class_name){ - var parent = item.parentElement; - while(!parent.classList.contains(class_name)){ - parent = parent.parentElement; - } - return parent; -} - -function images_history_get_parent_by_tagname(item, tagname){ - var parent = item.parentElement; - tagname = tagname.toUpperCase() - while(parent.tagName != tagname){ - parent = parent.parentElement; - } - return parent; -} - -function images_history_hide_buttons(hidden_list, gallery){ - var buttons = gallery.querySelectorAll(".gallery-item"); - var num = 0; - buttons.forEach(function(e){ - if (e.style.display == "none"){ - num += 1; - } - }); - if (num == hidden_list.length){ - setTimeout(images_history_hide_buttons, 10, hidden_list, gallery); - } - for( i in hidden_list){ - buttons[hidden_list[i]].style.display = "none"; - } -} - -function images_history_set_image_info(button){ - var buttons = images_history_get_parent_by_tagname(button, "DIV").querySelectorAll(".gallery-item"); - var index = -1; - var i = 0; - buttons.forEach(function(e){ - if(e == button){ - index = i; - } - if(e.style.display != "none"){ - i += 1; - } - }); - var gallery = images_history_get_parent_by_class(button, "images_history_cantainor"); - var set_btn = gallery.querySelector(".images_history_set_index"); - var curr_idx = set_btn.getAttribute("img_index", index); - if (curr_idx != index) { - set_btn.setAttribute("img_index", index); - images_history_disabled_del(); - } - set_btn.click(); - -} - -function images_history_get_current_img(tabname, img_index, files){ - return [ - tabname, - gradioApp().getElementById(tabname + '_images_history_set_index').getAttribute("img_index"), - files - ]; -} - -function images_history_delete(del_num, tabname, image_index){ - image_index = parseInt(image_index); - var tab = gradioApp().getElementById(tabname + '_images_history'); - var set_btn = tab.querySelector(".images_history_set_index"); - var buttons = []; - tab.querySelectorAll(".gallery-item").forEach(function(e){ - if (e.style.display != 'none'){ - buttons.push(e); - } - }); - var img_num = buttons.length / 2; - del_num = Math.min(img_num - image_index, del_num) - if (img_num <= del_num){ - setTimeout(function(tabname){ - gradioApp().getElementById(tabname + '_images_history_renew_page').click(); - }, 30, tabname); - } else { - var next_img - for (var i = 0; i < del_num; i++){ - buttons[image_index + i].style.display = 'none'; - buttons[image_index + i + img_num].style.display = 'none'; - next_img = image_index + i + 1 - } - var bnt; - if (next_img >= img_num){ - btn = buttons[image_index - 1]; - } else { - btn = buttons[next_img]; - } - setTimeout(function(btn){btn.click()}, 30, btn); - } - images_history_disabled_del(); - -} - -function images_history_turnpage(tabname){ - gradioApp().getElementById(tabname + '_images_history_del_button').setAttribute('disabled','disabled'); - var buttons = gradioApp().getElementById(tabname + '_images_history').querySelectorAll(".gallery-item"); - buttons.forEach(function(elem) { - elem.style.display = 'block'; - }) -} - -function images_history_enable_del_buttons(){ - gradioApp().querySelectorAll(".images_history_del_button").forEach(function(btn){ - btn.removeAttribute('disabled'); - }) -} - -function images_history_init(){ - var tabnames = gradioApp().getElementById("images_history_tabnames_list") - if (tabnames){ - images_history_tab_list = tabnames.querySelector("textarea").value.split(",") - for (var i in images_history_tab_list ){ - var tab = images_history_tab_list[i]; - gradioApp().getElementById(tab + '_images_history').classList.add("images_history_cantainor"); - gradioApp().getElementById(tab + '_images_history_set_index').classList.add("images_history_set_index"); - gradioApp().getElementById(tab + '_images_history_del_button').classList.add("images_history_del_button"); - gradioApp().getElementById(tab + '_images_history_gallery').classList.add("images_history_gallery"); - gradioApp().getElementById(tab + "_images_history_start").setAttribute("style","padding:20px;font-size:25px"); - } - - //preload - if (gradioApp().getElementById("images_history_preload").querySelector("input").checked ){ - var tabs_box = gradioApp().getElementById("tab_images_history").querySelector("div").querySelector("div").querySelector("div"); - tabs_box.setAttribute("id", "images_history_tab"); - var tab_btns = tabs_box.querySelectorAll("button"); - for (var i in images_history_tab_list){ - var tabname = images_history_tab_list[i] - tab_btns[i].setAttribute("tabname", tabname); - tab_btns[i].addEventListener('click', function(){ - var tabs_box = gradioApp().getElementById("images_history_tab"); - if (!tabs_box.classList.contains(this.getAttribute("tabname"))) { - gradioApp().getElementById(this.getAttribute("tabname") + "_images_history_start").click(); - tabs_box.classList.add(this.getAttribute("tabname")) - } - }); - } - tab_btns[0].click() - } - } else { - setTimeout(images_history_init, 500); - } -} - -var images_history_tab_list = ""; -setTimeout(images_history_init, 500); -document.addEventListener("DOMContentLoaded", function() { - var mutationObserver = new MutationObserver(function(m){ - if (images_history_tab_list != ""){ - for (var i in images_history_tab_list ){ - let tabname = images_history_tab_list[i] - var buttons = gradioApp().querySelectorAll('#' + tabname + '_images_history .gallery-item'); - buttons.forEach(function(bnt){ - bnt.addEventListener('click', images_history_click_image, true); - }); - - var cls_btn = gradioApp().getElementById(tabname + '_images_history_gallery').querySelector("svg"); - if (cls_btn){ - cls_btn.addEventListener('click', function(){ - gradioApp().getElementById(tabname + '_images_history_renew_page').click(); - }, false); - } - - } - } - }); - mutationObserver.observe(gradioApp(), { childList:true, subtree:true }); -}); - - diff --git a/javascript/inspiration.js b/javascript/inspiration.js deleted file mode 100644 index 39844544..00000000 --- a/javascript/inspiration.js +++ /dev/null @@ -1,48 +0,0 @@ -function public_image_index_in_gallery(item, gallery){ - var imgs = gallery.querySelectorAll("img.h-full") - var index; - var i = 0; - imgs.forEach(function(e){ - if (e == item) - index = i; - i += 1; - }); - var all_imgs = gallery.querySelectorAll("img") - if (all_imgs.length > imgs.length){ - var num = imgs.length / 2 - index = (index < num) ? index : (index - num) - } - return index; -} - -function inspiration_selected(name, name_list){ - var btn = gradioApp().getElementById("inspiration_select_button") - return [gradioApp().getElementById("inspiration_select_button").getAttribute("img-index")]; -} - -function inspiration_click_get_button(){ - gradioApp().getElementById("inspiration_get_button").click(); -} - -var inspiration_image_click = function(){ - var index = public_image_index_in_gallery(this, gradioApp().getElementById("inspiration_gallery")); - var btn = gradioApp().getElementById("inspiration_select_button"); - btn.setAttribute("img-index", index); - setTimeout(function(btn){btn.click();}, 10, btn); -} - -document.addEventListener("DOMContentLoaded", function() { - var mutationObserver = new MutationObserver(function(m){ - var gallery = gradioApp().getElementById("inspiration_gallery") - if (gallery) { - var node = gallery.querySelector(".absolute.backdrop-blur.h-full") - if (node) { - node.style.display = "None"; - } - gallery.querySelectorAll('img').forEach(function(e){ - e.onclick = inspiration_image_click - }); - } - }); - mutationObserver.observe( gradioApp(), { childList:true, subtree:true }); -}); diff --git a/modules/images_history.py b/modules/images_history.py deleted file mode 100644 index bc5cf11f..00000000 --- a/modules/images_history.py +++ /dev/null @@ -1,424 +0,0 @@ -import os -import shutil -import time -import hashlib -import gradio -system_bak_path = "webui_log_and_bak" -custom_tab_name = "custom fold" -faverate_tab_name = "favorites" -tabs_list = ["txt2img", "img2img", "extras", faverate_tab_name] -def is_valid_date(date): - try: - time.strptime(date, "%Y%m%d") - return True - except: - return False - -def reduplicative_file_move(src, dst): - def same_name_file(basename, path): - name, ext = os.path.splitext(basename) - f_list = os.listdir(path) - max_num = 0 - for f in f_list: - if len(f) <= len(basename): - continue - f_ext = f[-len(ext):] if len(ext) > 0 else "" - if f[:len(name)] == name and f_ext == ext: - if f[len(name)] == "(" and f[-len(ext)-1] == ")": - number = f[len(name)+1:-len(ext)-1] - if number.isdigit(): - if int(number) > max_num: - max_num = int(number) - return f"{name}({max_num + 1}){ext}" - name = os.path.basename(src) - save_name = os.path.join(dst, name) - if not os.path.exists(save_name): - shutil.move(src, dst) - else: - name = same_name_file(name, dst) - shutil.move(src, os.path.join(dst, name)) - -def traverse_all_files(curr_path, image_list, all_type=False): - try: - f_list = os.listdir(curr_path) - except: - if all_type or (curr_path[-10:].rfind(".") > 0 and curr_path[-4:] != ".txt" and curr_path[-4:] != ".csv"): - image_list.append(curr_path) - return image_list - for file in f_list: - file = os.path.join(curr_path, file) - if (not all_type) and (file[-4:] == ".txt" or file[-4:] == ".csv"): - pass - elif os.path.isfile(file) and file[-10:].rfind(".") > 0: - image_list.append(file) - else: - image_list = traverse_all_files(file, image_list) - return image_list - -def auto_sorting(dir_name): - bak_path = os.path.join(dir_name, system_bak_path) - if not os.path.exists(bak_path): - os.mkdir(bak_path) - log_file = None - files_list = [] - f_list = os.listdir(dir_name) - for file in f_list: - if file == system_bak_path: - continue - file_path = os.path.join(dir_name, file) - if not is_valid_date(file): - if file[-10:].rfind(".") > 0: - files_list.append(file_path) - else: - files_list = traverse_all_files(file_path, files_list, all_type=True) - - for file in files_list: - date_str = time.strftime("%Y%m%d",time.localtime(os.path.getmtime(file))) - file_path = os.path.dirname(file) - hash_path = hashlib.md5(file_path.encode()).hexdigest() - path = os.path.join(dir_name, date_str, hash_path) - if not os.path.exists(path): - os.makedirs(path) - if log_file is None: - log_file = open(os.path.join(bak_path,"path_mapping.csv"),"a") - log_file.write(f"{hash_path},{file_path}\n") - reduplicative_file_move(file, path) - - date_list = [] - f_list = os.listdir(dir_name) - for f in f_list: - if is_valid_date(f): - date_list.append(f) - elif f == system_bak_path: - continue - else: - try: - reduplicative_file_move(os.path.join(dir_name, f), bak_path) - except: - pass - - today = time.strftime("%Y%m%d",time.localtime(time.time())) - if today not in date_list: - date_list.append(today) - return sorted(date_list, reverse=True) - -def archive_images(dir_name, date_to): - filenames = [] - batch_size =int(opts.images_history_num_per_page * opts.images_history_pages_num) - if batch_size <= 0: - batch_size = opts.images_history_num_per_page * 6 - today = time.strftime("%Y%m%d",time.localtime(time.time())) - date_to = today if date_to is None or date_to == "" else date_to - date_to_bak = date_to - if False: #opts.images_history_reconstruct_directory: - date_list = auto_sorting(dir_name) - for date in date_list: - if date <= date_to: - path = os.path.join(dir_name, date) - if date == today and not os.path.exists(path): - continue - filenames = traverse_all_files(path, filenames) - if len(filenames) > batch_size: - break - filenames = sorted(filenames, key=lambda file: -os.path.getmtime(file)) - else: - filenames = traverse_all_files(dir_name, filenames) - total_num = len(filenames) - tmparray = [(os.path.getmtime(file), file) for file in filenames ] - date_stamp = time.mktime(time.strptime(date_to, "%Y%m%d")) + 86400 - filenames = [] - date_list = {date_to:None} - date = time.strftime("%Y%m%d",time.localtime(time.time())) - for t, f in tmparray: - date = time.strftime("%Y%m%d",time.localtime(t)) - date_list[date] = None - if t <= date_stamp: - filenames.append((t, f ,date)) - date_list = sorted(list(date_list.keys()), reverse=True) - sort_array = sorted(filenames, key=lambda x:-x[0]) - if len(sort_array) > batch_size: - date = sort_array[batch_size][2] - filenames = [x[1] for x in sort_array] - else: - date = date_to if len(sort_array) == 0 else sort_array[-1][2] - filenames = [x[1] for x in sort_array] - filenames = [x[1] for x in sort_array if x[2]>= date] - num = len(filenames) - last_date_from = date_to_bak if num == 0 else time.strftime("%Y%m%d", time.localtime(time.mktime(time.strptime(date, "%Y%m%d")) - 1000)) - date = date[:4] + "/" + date[4:6] + "/" + date[6:8] - date_to_bak = date_to_bak[:4] + "/" + date_to_bak[4:6] + "/" + date_to_bak[6:8] - load_info = "
" - load_info += f"{total_num} images in this directory. Loaded {num} images during {date} - {date_to_bak}, divided into {int((num + 1) // opts.images_history_num_per_page + 1)} pages" - load_info += "
" - _, image_list, _, _, visible_num = get_recent_images(1, 0, filenames) - return ( - date_to, - load_info, - filenames, - 1, - image_list, - "", - "", - visible_num, - last_date_from, - gradio.update(visible=total_num > num) - ) - -def delete_image(delete_num, name, filenames, image_index, visible_num): - if name == "": - return filenames, delete_num - else: - delete_num = int(delete_num) - visible_num = int(visible_num) - image_index = int(image_index) - index = list(filenames).index(name) - i = 0 - new_file_list = [] - for name in filenames: - if i >= index and i < index + delete_num: - if os.path.exists(name): - if visible_num == image_index: - new_file_list.append(name) - i += 1 - continue - print(f"Delete file {name}") - os.remove(name) - visible_num -= 1 - txt_file = os.path.splitext(name)[0] + ".txt" - if os.path.exists(txt_file): - os.remove(txt_file) - else: - print(f"Not exists file {name}") - else: - new_file_list.append(name) - i += 1 - return new_file_list, 1, visible_num - -def save_image(file_name): - if file_name is not None and os.path.exists(file_name): - shutil.copy(file_name, opts.outdir_save) - -def get_recent_images(page_index, step, filenames): - page_index = int(page_index) - num_of_imgs_per_page = int(opts.images_history_num_per_page) - max_page_index = len(filenames) // num_of_imgs_per_page + 1 - page_index = max_page_index if page_index == -1 else page_index + step - page_index = 1 if page_index < 1 else page_index - page_index = max_page_index if page_index > max_page_index else page_index - idx_frm = (page_index - 1) * num_of_imgs_per_page - image_list = filenames[idx_frm:idx_frm + num_of_imgs_per_page] - length = len(filenames) - visible_num = num_of_imgs_per_page if idx_frm + num_of_imgs_per_page <= length else length % num_of_imgs_per_page - visible_num = num_of_imgs_per_page if visible_num == 0 else visible_num - return page_index, image_list, "", "", visible_num - -def loac_batch_click(date_to): - if date_to is None: - return time.strftime("%Y%m%d",time.localtime(time.time())), [] - else: - return None, [] -def forward_click(last_date_from, date_to_recorder): - if len(date_to_recorder) == 0: - return None, [] - if last_date_from == date_to_recorder[-1]: - date_to_recorder = date_to_recorder[:-1] - if len(date_to_recorder) == 0: - return None, [] - return date_to_recorder[-1], date_to_recorder[:-1] - -def backward_click(last_date_from, date_to_recorder): - if last_date_from is None or last_date_from == "": - return time.strftime("%Y%m%d",time.localtime(time.time())), [] - if len(date_to_recorder) == 0 or last_date_from != date_to_recorder[-1]: - date_to_recorder.append(last_date_from) - return last_date_from, date_to_recorder - - -def first_page_click(page_index, filenames): - return get_recent_images(1, 0, filenames) - -def end_page_click(page_index, filenames): - return get_recent_images(-1, 0, filenames) - -def prev_page_click(page_index, filenames): - return get_recent_images(page_index, -1, filenames) - -def next_page_click(page_index, filenames): - return get_recent_images(page_index, 1, filenames) - -def page_index_change(page_index, filenames): - return get_recent_images(page_index, 0, filenames) - -def show_image_info(tabname_box, num, page_index, filenames): - file = filenames[int(num) + int((page_index - 1) * int(opts.images_history_num_per_page))] - tm = "
" + time.strftime("%Y-%m-%d %H:%M:%S",time.localtime(os.path.getmtime(file))) + "
" - return file, tm, num, file - -def enable_page_buttons(): - return gradio.update(visible=True) - -def change_dir(img_dir, date_to): - warning = None - try: - if os.path.exists(img_dir): - try: - f = os.listdir(img_dir) - except: - warning = f"'{img_dir} is not a directory" - else: - warning = "The directory is not exist" - except: - warning = "The format of the directory is incorrect" - if warning is None: - today = time.strftime("%Y%m%d",time.localtime(time.time())) - return gradio.update(visible=False), gradio.update(visible=True), None, None if date_to != today else today, gradio.update(visible=True), gradio.update(visible=True) - else: - return gradio.update(visible=True), gradio.update(visible=False), warning, date_to, gradio.update(visible=False), gradio.update(visible=False) - -def show_images_history(gr, opts, tabname, run_pnginfo, switch_dict): - custom_dir = False - if tabname == "txt2img": - dir_name = opts.outdir_txt2img_samples - elif tabname == "img2img": - dir_name = opts.outdir_img2img_samples - elif tabname == "extras": - dir_name = opts.outdir_extras_samples - elif tabname == faverate_tab_name: - dir_name = opts.outdir_save - else: - custom_dir = True - dir_name = None - - if not custom_dir: - d = dir_name.split("/") - dir_name = d[0] - for p in d[1:]: - dir_name = os.path.join(dir_name, p) - if not os.path.exists(dir_name): - os.makedirs(dir_name) - - with gr.Column() as page_panel: - with gr.Row(): - with gr.Column(scale=1, visible=not custom_dir) as load_batch_box: - load_batch = gr.Button('Load', elem_id=tabname + "_images_history_start", full_width=True) - with gr.Column(scale=4): - with gr.Row(): - img_path = gr.Textbox(dir_name, label="Images directory", placeholder="Input images directory", interactive=custom_dir) - with gr.Row(): - with gr.Column(visible=False, scale=1) as batch_panel: - with gr.Row(): - forward = gr.Button('Prev batch') - backward = gr.Button('Next batch') - with gr.Column(scale=3): - load_info = gr.HTML(visible=not custom_dir) - with gr.Row(visible=False) as warning: - warning_box = gr.Textbox("Message", interactive=False) - - with gr.Row(visible=not custom_dir, elem_id=tabname + "_images_history") as main_panel: - with gr.Column(scale=2): - with gr.Row(visible=True) as turn_page_buttons: - #date_to = gr.Dropdown(label="Date to") - first_page = gr.Button('First Page') - prev_page = gr.Button('Prev Page') - page_index = gr.Number(value=1, label="Page Index") - next_page = gr.Button('Next Page') - end_page = gr.Button('End Page') - - history_gallery = gr.Gallery(show_label=False, elem_id=tabname + "_images_history_gallery").style(grid=opts.images_history_grid_num) - with gr.Row(): - delete_num = gr.Number(value=1, interactive=True, label="number of images to delete consecutively next") - delete = gr.Button('Delete', elem_id=tabname + "_images_history_del_button") - - with gr.Column(): - with gr.Row(): - with gr.Column(): - img_file_info = gr.Textbox(label="Generate Info", interactive=False, lines=6) - gr.HTML("
") - img_file_name = gr.Textbox(value="", label="File Name", interactive=False) - img_file_time= gr.HTML() - with gr.Row(): - if tabname != faverate_tab_name: - save_btn = gr.Button('Collect') - pnginfo_send_to_txt2img = gr.Button('Send to txt2img') - pnginfo_send_to_img2img = gr.Button('Send to img2img') - - - # hiden items - with gr.Row(visible=False): - renew_page = gr.Button('Refresh page', elem_id=tabname + "_images_history_renew_page") - batch_date_to = gr.Textbox(label="Date to") - visible_img_num = gr.Number() - date_to_recorder = gr.State([]) - last_date_from = gr.Textbox() - tabname_box = gr.Textbox(tabname) - image_index = gr.Textbox(value=-1) - set_index = gr.Button('set_index', elem_id=tabname + "_images_history_set_index") - filenames = gr.State() - all_images_list = gr.State() - hidden = gr.Image(type="pil") - info1 = gr.Textbox() - info2 = gr.Textbox() - - img_path.submit(change_dir, inputs=[img_path, batch_date_to], outputs=[warning, main_panel, warning_box, batch_date_to, load_batch_box, load_info]) - - #change batch - change_date_output = [batch_date_to, load_info, filenames, page_index, history_gallery, img_file_name, img_file_time, visible_img_num, last_date_from, batch_panel] - - batch_date_to.change(archive_images, inputs=[img_path, batch_date_to], outputs=change_date_output) - batch_date_to.change(enable_page_buttons, inputs=None, outputs=[turn_page_buttons]) - batch_date_to.change(fn=None, inputs=[tabname_box], outputs=None, _js="images_history_turnpage") - - load_batch.click(loac_batch_click, inputs=[batch_date_to], outputs=[batch_date_to, date_to_recorder]) - forward.click(forward_click, inputs=[last_date_from, date_to_recorder], outputs=[batch_date_to, date_to_recorder]) - backward.click(backward_click, inputs=[last_date_from, date_to_recorder], outputs=[batch_date_to, date_to_recorder]) - - - #delete - delete.click(delete_image, inputs=[delete_num, img_file_name, filenames, image_index, visible_img_num], outputs=[filenames, delete_num, visible_img_num]) - delete.click(fn=None, _js="images_history_delete", inputs=[delete_num, tabname_box, image_index], outputs=None) - if tabname != faverate_tab_name: - save_btn.click(save_image, inputs=[img_file_name], outputs=None) - - #turn page - gallery_inputs = [page_index, filenames] - gallery_outputs = [page_index, history_gallery, img_file_name, img_file_time, visible_img_num] - first_page.click(first_page_click, inputs=gallery_inputs, outputs=gallery_outputs) - next_page.click(next_page_click, inputs=gallery_inputs, outputs=gallery_outputs) - prev_page.click(prev_page_click, inputs=gallery_inputs, outputs=gallery_outputs) - end_page.click(end_page_click, inputs=gallery_inputs, outputs=gallery_outputs) - page_index.submit(page_index_change, inputs=gallery_inputs, outputs=gallery_outputs) - renew_page.click(page_index_change, inputs=gallery_inputs, outputs=gallery_outputs) - - first_page.click(fn=None, inputs=[tabname_box], outputs=None, _js="images_history_turnpage") - next_page.click(fn=None, inputs=[tabname_box], outputs=None, _js="images_history_turnpage") - prev_page.click(fn=None, inputs=[tabname_box], outputs=None, _js="images_history_turnpage") - end_page.click(fn=None, inputs=[tabname_box], outputs=None, _js="images_history_turnpage") - page_index.submit(fn=None, inputs=[tabname_box], outputs=None, _js="images_history_turnpage") - renew_page.click(fn=None, inputs=[tabname_box], outputs=None, _js="images_history_turnpage") - - # other funcitons - set_index.click(show_image_info, _js="images_history_get_current_img", inputs=[tabname_box, image_index, page_index, filenames], outputs=[img_file_name, img_file_time, image_index, hidden]) - img_file_name.change(fn=None, _js="images_history_enable_del_buttons", inputs=None, outputs=None) - hidden.change(fn=run_pnginfo, inputs=[hidden], outputs=[info1, img_file_info, info2]) - switch_dict["fn"](pnginfo_send_to_txt2img, switch_dict["t2i"], img_file_info, 'switch_to_txt2img') - switch_dict["fn"](pnginfo_send_to_img2img, switch_dict["i2i"], img_file_info, 'switch_to_img2img_img2img') - - - -def create_history_tabs(gr, sys_opts, cmp_ops, run_pnginfo, switch_dict): - global opts; - opts = sys_opts - loads_files_num = int(opts.images_history_num_per_page) - num_of_imgs_per_page = int(opts.images_history_num_per_page * opts.images_history_pages_num) - if cmp_ops.browse_all_images: - tabs_list.append(custom_tab_name) - with gr.Blocks(analytics_enabled=False) as images_history: - with gr.Tabs() as tabs: - for tab in tabs_list: - with gr.Tab(tab): - with gr.Blocks(analytics_enabled=False) : - show_images_history(gr, opts, tab, run_pnginfo, switch_dict) - gradio.Checkbox(opts.images_history_preload, elem_id="images_history_preload", visible=False) - gradio.Textbox(",".join(tabs_list), elem_id="images_history_tabnames_list", visible=False) - - return images_history diff --git a/modules/inspiration.py b/modules/inspiration.py deleted file mode 100644 index 29cf8297..00000000 --- a/modules/inspiration.py +++ /dev/null @@ -1,193 +0,0 @@ -import os -import random -import gradio -from modules.shared import opts -inspiration_system_path = os.path.join(opts.inspiration_dir, "system") -def read_name_list(file, types=None, keyword=None): - if not os.path.exists(file): - return [] - ret = [] - f = open(file, "r") - line = f.readline() - while len(line) > 0: - line = line.rstrip("\n") - if types is not None: - dirname = os.path.split(line) - if dirname[0] in types and keyword in dirname[1].lower(): - ret.append(line) - else: - ret.append(line) - line = f.readline() - return ret - -def save_name_list(file, name): - name_list = read_name_list(file) - if name not in name_list: - with open(file, "a") as f: - f.write(name + "\n") - -def get_types_list(): - files = os.listdir(opts.inspiration_dir) - types = [] - for x in files: - path = os.path.join(opts.inspiration_dir, x) - if x[0] == ".": - continue - if not os.path.isdir(path): - continue - if path == inspiration_system_path: - continue - types.append(x) - return types - -def get_inspiration_images(source, types, keyword): - keyword = keyword.strip(" ").lower() - get_num = int(opts.inspiration_rows_num * opts.inspiration_cols_num) - if source == "Favorites": - names = read_name_list(os.path.join(inspiration_system_path, "faverites.txt"), types, keyword) - names = random.sample(names, get_num) if len(names) > get_num else names - elif source == "Abandoned": - names = read_name_list(os.path.join(inspiration_system_path, "abandoned.txt"), types, keyword) - names = random.sample(names, get_num) if len(names) > get_num else names - elif source == "Exclude abandoned": - abandoned = read_name_list(os.path.join(inspiration_system_path, "abandoned.txt"), types, keyword) - all_names = [] - for tp in types: - name_list = os.listdir(os.path.join(opts.inspiration_dir, tp)) - all_names += [os.path.join(tp, x) for x in name_list if keyword in x.lower()] - - if len(all_names) > get_num: - names = [] - while len(names) < get_num: - name = random.choice(all_names) - if name not in abandoned: - names.append(name) - else: - names = all_names - else: - all_names = [] - for tp in types: - name_list = os.listdir(os.path.join(opts.inspiration_dir, tp)) - all_names += [os.path.join(tp, x) for x in name_list if keyword in x.lower()] - names = random.sample(all_names, get_num) if len(all_names) > get_num else all_names - image_list = [] - for a in names: - image_path = os.path.join(opts.inspiration_dir, a) - images = os.listdir(image_path) - if len(images) > 0: - image_list.append((os.path.join(image_path, random.choice(images)), a)) - else: - print(image_path) - return image_list, names - -def select_click(index, name_list): - name = name_list[int(index)] - path = os.path.join(opts.inspiration_dir, name) - images = os.listdir(path) - return name, [os.path.join(path, x) for x in images], "" - -def give_up_click(name): - file = os.path.join(inspiration_system_path, "abandoned.txt") - save_name_list(file, name) - return "Added to abandoned list" - -def collect_click(name): - file = os.path.join(inspiration_system_path, "faverites.txt") - save_name_list(file, name) - return "Added to faverite list" - -def moveout_click(name, source): - if source == "Abandoned": - file = os.path.join(inspiration_system_path, "abandoned.txt") - elif source == "Favorites": - file = os.path.join(inspiration_system_path, "faverites.txt") - else: - return None - name_list = read_name_list(file) - os.remove(file) - with open(file, "a") as f: - for a in name_list: - if a != name: - f.write(a + "\n") - return f"Moved out {name} from {source} list" - -def source_change(source): - if source in ["Abandoned", "Favorites"]: - return gradio.update(visible=True), [] - else: - return gradio.update(visible=False), [] -def add_to_prompt(name, prompt): - name = os.path.basename(name) - return prompt + "," + name - -def clear_keyword(): - return "" - -def ui(gr, opts, txt2img_prompt, img2img_prompt): - with gr.Blocks(analytics_enabled=False) as inspiration: - flag = os.path.exists(opts.inspiration_dir) - if flag: - types = get_types_list() - flag = len(types) > 0 - else: - os.makedirs(opts.inspiration_dir) - if not flag: - gr.HTML(""" -

To activate inspiration function, you need get "inspiration" images first.


- You can create these images by run "Create inspiration images" script in txt2img page,
you can get the artists or art styles list from here
- https://github.com/pharmapsychotic/clip-interrogator/tree/main/data
- download these files, and select these files in the "Create inspiration images" script UI
- There about 6000 artists and art styles in these files.
This takes server hours depending on your GPU type and how many pictures you generate for each artist/style -
I suggest at least four images for each


-

You can also download generated pictures from here:


- https://huggingface.co/datasets/yfszzx/inspiration
- unzip the file to the project directory of webui
- and restart webui, and enjoy the joy of creation!
- """) - return inspiration - if not os.path.exists(inspiration_system_path): - os.mkdir(inspiration_system_path) - with gr.Row(): - with gr.Column(scale=2): - inspiration_gallery = gr.Gallery(show_label=False, elem_id="inspiration_gallery").style(grid=opts.inspiration_cols_num, height='auto') - with gr.Column(scale=1): - types = gr.CheckboxGroup(choices=types, value=types) - with gr.Row(): - source = gr.Dropdown(choices=["All", "Favorites", "Exclude abandoned", "Abandoned"], value="Exclude abandoned", label="Source") - keyword = gr.Textbox("", label="Key word") - get_inspiration = gr.Button("Get inspiration", elem_id="inspiration_get_button") - name = gr.Textbox(show_label=False, interactive=False) - with gr.Row(): - send_to_txt2img = gr.Button('to txt2img') - send_to_img2img = gr.Button('to img2img') - collect = gr.Button('Collect') - give_up = gr.Button("Don't show again") - 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): - select_button = gr.Button('set button', elem_id="inspiration_select_button") - name_list = gr.State() - - get_inspiration.click(get_inspiration_images, inputs=[source, types, keyword], outputs=[inspiration_gallery, name_list]) - keyword.submit(fn=None, _js="inspiration_click_get_button", inputs=None, outputs=None) - source.change(source_change, inputs=[source], outputs=[moveout, style_gallery]) - source.change(fn=clear_keyword, _js="inspiration_click_get_button", inputs=None, outputs=[keyword]) - types.change(fn=clear_keyword, _js="inspiration_click_get_button", inputs=None, outputs=[keyword]) - - select_button.click(select_click, _js="inspiration_selected", inputs=[name, name_list], outputs=[name, style_gallery, warning]) - give_up.click(give_up_click, inputs=[name], outputs=[warning]) - collect.click(collect_click, inputs=[name], outputs=[warning]) - moveout.click(moveout_click, inputs=[name, source], outputs=[warning]) - moveout.click(fn=None, _js="inspiration_click_get_button", inputs=None, outputs=None) - - send_to_txt2img.click(add_to_prompt, inputs=[name, txt2img_prompt], outputs=[txt2img_prompt]) - send_to_img2img.click(add_to_prompt, inputs=[name, img2img_prompt], outputs=[img2img_prompt]) - send_to_txt2img.click(collect_click, inputs=[name], outputs=[warning]) - send_to_img2img.click(collect_click, inputs=[name], outputs=[warning]) - send_to_txt2img.click(None, _js='switch_to_txt2img', inputs=None, outputs=None) - send_to_img2img.click(None, _js="switch_to_img2img_img2img", inputs=None, outputs=None) - return inspiration diff --git a/modules/script_callbacks.py b/modules/script_callbacks.py index 5bcccd67..66666a56 100644 --- a/modules/script_callbacks.py +++ b/modules/script_callbacks.py @@ -1,4 +1,3 @@ - callbacks_model_loaded = [] callbacks_ui_tabs = [] callbacks_ui_settings = [] @@ -16,7 +15,6 @@ def model_loaded_callback(sd_model): def ui_tabs_callback(): res = [] - for callback in callbacks_ui_tabs: res += callback() or [] diff --git a/modules/shared.py b/modules/shared.py index 0aaaadac..5dfd7927 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -321,21 +321,6 @@ options_templates.update(options_section(('sampler-params', "Sampler parameters" 'eta_noise_seed_delta': OptionInfo(0, "Eta noise seed delta", gr.Number, {"precision": 0}), })) -options_templates.update(options_section(('inspiration', "Inspiration"), { - "inspiration_dir": OptionInfo("inspiration", "Directory of inspiration", component_args=hide_dirs), - "inspiration_max_samples": OptionInfo(4, "Maximum number of samples, used to determine which folders to skip when continue running the create script", gr.Slider, {"minimum": 1, "maximum": 20, "step": 1}), - "inspiration_rows_num": OptionInfo(4, "Rows of inspiration interface frame", gr.Slider, {"minimum": 4, "maximum": 16, "step": 1}), - "inspiration_cols_num": OptionInfo(8, "Columns of inspiration interface frame", gr.Slider, {"minimum": 4, "maximum": 16, "step": 1}), -})) - -options_templates.update(options_section(('images-history', "Images Browser"), { - #"images_history_reconstruct_directory": OptionInfo(False, "Reconstruct output directory structure.This can greatly improve the speed of loading , but will change the original output directory structure"), - "images_history_preload": OptionInfo(False, "Preload images at startup"), - "images_history_num_per_page": OptionInfo(36, "Number of pictures displayed on each page"), - "images_history_pages_num": OptionInfo(6, "Minimum number of pages per load "), - "images_history_grid_num": OptionInfo(6, "Number of grids in each row"), - -})) class Options: data = None diff --git a/modules/ui.py b/modules/ui.py index a73175f5..fa42712e 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -49,14 +49,12 @@ from modules.sd_hijack import model_hijack from modules.sd_samplers import samplers, samplers_for_img2img import modules.textual_inversion.ui import modules.hypernetworks.ui -import modules.images_history as images_history -import modules.inspiration as inspiration - - # this is a fix for Windows users. Without it, javascript files will be served with text/html content-type and the browser will not show any UI mimetypes.init() mimetypes.add_type('application/javascript', '.js') +txt2img_paste_fields = [] +img2img_paste_fields = [] if not cmd_opts.share and not cmd_opts.listen: @@ -1193,16 +1191,7 @@ def create_ui(wrap_gradio_gpu_call): inputs=[image], outputs=[html, generation_info, html2], ) - #images history - images_history_switch_dict = { - "fn": modules.generation_parameters_copypaste.connect_paste, - "t2i": txt2img_paste_fields, - "i2i": img2img_paste_fields - } - - browser_interface = images_history.create_history_tabs(gr, opts, cmd_opts, wrap_gradio_call(modules.extras.run_pnginfo), images_history_switch_dict) - inspiration_interface = inspiration.ui(gr, opts, txt2img_prompt, img2img_prompt) - + with gr.Blocks() as modelmerger_interface: with gr.Row().style(equal_height=False): with gr.Column(variant='panel'): @@ -1651,8 +1640,6 @@ Requested path was: {f} (img2img_interface, "img2img", "img2img"), (extras_interface, "Extras", "extras"), (pnginfo_interface, "PNG Info", "pnginfo"), - (inspiration_interface, "Inspiration", "inspiration"), - (browser_interface , "Image Browser", "images_history"), (modelmerger_interface, "Checkpoint Merger", "modelmerger"), (train_interface, "Train", "ti"), ] @@ -1896,6 +1883,7 @@ def load_javascript(raw_response): javascript = f'' scripts_list = modules.scripts.list_scripts("javascript", ".js") + scripts_list += modules.scripts.list_scripts("scripts", ".js") for basedir, filename, path in scripts_list: with open(path, "r", encoding="utf8") as jsfile: javascript += f"\n" From cef1b89aa2e6c7647db7e93a4cd4ec020da3f2da Mon Sep 17 00:00:00 2001 From: yfszzx Date: Mon, 24 Oct 2022 10:10:33 +0800 Subject: [PATCH 09/52] remove browser to extension --- modules/script_callbacks.py | 2 + modules/shared.py | 1 - modules/ui.py | 2 +- scripts/create_inspiration_images.py | 57 ---------------------------- 4 files changed, 3 insertions(+), 59 deletions(-) delete mode 100644 scripts/create_inspiration_images.py diff --git a/modules/script_callbacks.py b/modules/script_callbacks.py index 66666a56..f46d3d9a 100644 --- a/modules/script_callbacks.py +++ b/modules/script_callbacks.py @@ -1,3 +1,4 @@ + callbacks_model_loaded = [] callbacks_ui_tabs = [] callbacks_ui_settings = [] @@ -15,6 +16,7 @@ def model_loaded_callback(sd_model): def ui_tabs_callback(): res = [] + for callback in callbacks_ui_tabs: res += callback() or [] diff --git a/modules/shared.py b/modules/shared.py index 5dfd7927..6541e679 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -82,7 +82,6 @@ parser.add_argument("--api", action='store_true', help="use api=True to launch t parser.add_argument("--nowebui", action='store_true', help="use api=True to launch the api instead of the webui") parser.add_argument("--ui-debug-mode", action='store_true', help="Don't load model to quickly launch UI") parser.add_argument("--device-id", type=str, help="Select the default CUDA device to use (export CUDA_VISIBLE_DEVICES=0,1,etc might be needed before)", default=None) -parser.add_argument("--browse-all-images", action='store_true', help="Allow browsing all images by Image Browser", default=False) cmd_opts = parser.parse_args() restricted_opts = [ diff --git a/modules/ui.py b/modules/ui.py index fa42712e..a32f7259 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -1104,7 +1104,7 @@ def create_ui(wrap_gradio_gpu_call): upscaling_crop = gr.Checkbox(label='Crop to fit', value=True) with gr.Group(): - extras_upscaler_1 = gr.Radio(label='Upscaler 1', elem_id="extras_upscaler_1", choices=[x.name for x in shared.sd_upscalers] , value=shared.sd_upscalers[0].name, type="index") + extras_upscaler_1 = gr.Radio(label='Upscaler 1', elem_id="extras_upscaler_1", choices=[x.name for x in shared.sd_upscalers], value=shared.sd_upscalers[0].name, type="index") with gr.Group(): extras_upscaler_2 = gr.Radio(label='Upscaler 2', elem_id="extras_upscaler_2", choices=[x.name for x in shared.sd_upscalers], value=shared.sd_upscalers[0].name, type="index") diff --git a/scripts/create_inspiration_images.py b/scripts/create_inspiration_images.py deleted file mode 100644 index 2fd30578..00000000 --- a/scripts/create_inspiration_images.py +++ /dev/null @@ -1,57 +0,0 @@ -import csv, os, shutil -import modules.scripts as scripts -from modules import processing, shared, sd_samplers, images -from modules.processing import Processed -from modules.shared import opts -import gradio -class Script(scripts.Script): - def title(self): - return "Create inspiration images" - - def show(self, is_img2img): - return True - - def ui(self, is_img2img): - file = gradio.Files(label="Artist or styles name list. '.txt' files with one name per line",) - with gradio.Row(): - prefix = gradio.Textbox("a painting in", label="Prompt words before artist or style name", file_count="multiple") - suffix= gradio.Textbox("style", label="Prompt words after artist or style name") - negative_prompt = gradio.Textbox("picture frame, portrait photo", label="Negative Prompt") - with gradio.Row(): - batch_size = gradio.Number(1, label="Batch size") - batch_count = gradio.Number(2, label="Batch count") - return [batch_size, batch_count, prefix, suffix, negative_prompt, file] - - def run(self, p, batch_size, batch_count, prefix, suffix, negative_prompt, files): - p.batch_size = int(batch_size) - p.n_iterint = int(batch_count) - p.negative_prompt = negative_prompt - p.do_not_save_samples = True - p.do_not_save_grid = True - for file in files: - tp = file.orig_name.split(".")[0] - print(tp) - path = os.path.join(opts.inspiration_dir, tp) - if not os.path.exists(path): - os.makedirs(path) - f = open(file.name, "r") - line = f.readline() - while len(line) > 0: - name = line.rstrip("\n").split(",")[0] - line = f.readline() - artist_path = os.path.join(path, name) - if not os.path.exists(artist_path): - os.mkdir(artist_path) - if len(os.listdir(artist_path)) >= opts.inspiration_max_samples: - continue - p.prompt = f"{prefix} {name} {suffix}" - print(p.prompt) - processed = processing.process_images(p) - for img in processed.images: - i = 0 - filename = os.path.join(artist_path, format(0, "03d") + ".jpg") - while os.path.exists(filename): - i += 1 - filename = os.path.join(artist_path, format(i, "03d") + ".jpg") - img.save(filename, quality=80) - return processed From d7987ef9da2d89f146e091f0c727444a522245d9 Mon Sep 17 00:00:00 2001 From: yfszzx Date: Mon, 24 Oct 2022 11:06:58 +0800 Subject: [PATCH 10/52] add paste_fields to global --- extensions/inspiration | 1 + extensions/put extension here.txt | 0 extensions/stable-diffusion-webui-aesthetic-gradients | 1 + extensions/stable-diffusion-webui-images-browse | 1 + extensions/stable-diffusion-webui-inspiration | 1 + extensions/stable-diffusion-webui-wildcards | 1 + 6 files changed, 5 insertions(+) create mode 160000 extensions/inspiration create mode 100644 extensions/put extension here.txt create mode 160000 extensions/stable-diffusion-webui-aesthetic-gradients create mode 160000 extensions/stable-diffusion-webui-images-browse create mode 160000 extensions/stable-diffusion-webui-inspiration create mode 160000 extensions/stable-diffusion-webui-wildcards diff --git a/extensions/inspiration b/extensions/inspiration new file mode 160000 index 00000000..4cff5855 --- /dev/null +++ b/extensions/inspiration @@ -0,0 +1 @@ +Subproject commit 4cff5855f3ca658fb5c9dd9745e5f2ae7bcc7074 diff --git a/extensions/put extension here.txt b/extensions/put extension here.txt new file mode 100644 index 00000000..e69de29b diff --git a/extensions/stable-diffusion-webui-aesthetic-gradients b/extensions/stable-diffusion-webui-aesthetic-gradients new file mode 160000 index 00000000..411889ca --- /dev/null +++ b/extensions/stable-diffusion-webui-aesthetic-gradients @@ -0,0 +1 @@ +Subproject commit 411889ca602f20b8bb5e4d1af2b9686eab1913b1 diff --git a/extensions/stable-diffusion-webui-images-browse b/extensions/stable-diffusion-webui-images-browse new file mode 160000 index 00000000..6b8e158d --- /dev/null +++ b/extensions/stable-diffusion-webui-images-browse @@ -0,0 +1 @@ +Subproject commit 6b8e158dc174f31f0bb73d74547917f5a6fba507 diff --git a/extensions/stable-diffusion-webui-inspiration b/extensions/stable-diffusion-webui-inspiration new file mode 160000 index 00000000..4cff5855 --- /dev/null +++ b/extensions/stable-diffusion-webui-inspiration @@ -0,0 +1 @@ +Subproject commit 4cff5855f3ca658fb5c9dd9745e5f2ae7bcc7074 diff --git a/extensions/stable-diffusion-webui-wildcards b/extensions/stable-diffusion-webui-wildcards new file mode 160000 index 00000000..2c0e7d7e --- /dev/null +++ b/extensions/stable-diffusion-webui-wildcards @@ -0,0 +1 @@ +Subproject commit 2c0e7d7e19e6c2b76b83189013aadb822776301f From a889c93f23f1e80d0dac4e5ddbc3a26207e8cdf1 Mon Sep 17 00:00:00 2001 From: yfszzx Date: Mon, 24 Oct 2022 11:13:16 +0800 Subject: [PATCH 11/52] paste_fields add to public --- modules/ui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ui.py b/modules/ui.py index a32f7259..a73b9ff0 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -784,6 +784,7 @@ def create_ui(wrap_gradio_gpu_call): ] ) + global txt2img_paste_fields txt2img_paste_fields = [ (txt2img_prompt, "Prompt"), (txt2img_negative_prompt, "Negative prompt"), @@ -1054,6 +1055,7 @@ def create_ui(wrap_gradio_gpu_call): outputs=[prompt, negative_prompt, style1, style2], ) + global img2img_paste_fields img2img_paste_fields = [ (img2img_prompt, "Prompt"), (img2img_negative_prompt, "Negative prompt"), From 9dd17b86017e26ccf58897142bdcaa0297f8db8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E7=94=BB=E7=94=BB=E7=9A=84=E4=B8=AD?= =?UTF-8?q?=E5=8C=BB=E4=B8=8D=E6=98=AF=E5=A5=BD=E7=A8=8B=E5=BA=8F=E5=91=98?= Date: Mon, 24 Oct 2022 11:19:49 +0800 Subject: [PATCH 12/52] fix add git add mistake --- extensions/inspiration | 1 - extensions/put extension here.txt | 0 extensions/stable-diffusion-webui-aesthetic-gradients | 1 - extensions/stable-diffusion-webui-images-browse | 1 - extensions/stable-diffusion-webui-inspiration | 1 - extensions/stable-diffusion-webui-wildcards | 1 - 6 files changed, 5 deletions(-) delete mode 160000 extensions/inspiration delete mode 100644 extensions/put extension here.txt delete mode 160000 extensions/stable-diffusion-webui-aesthetic-gradients delete mode 160000 extensions/stable-diffusion-webui-images-browse delete mode 160000 extensions/stable-diffusion-webui-inspiration delete mode 160000 extensions/stable-diffusion-webui-wildcards diff --git a/extensions/inspiration b/extensions/inspiration deleted file mode 160000 index 4cff5855..00000000 --- a/extensions/inspiration +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4cff5855f3ca658fb5c9dd9745e5f2ae7bcc7074 diff --git a/extensions/put extension here.txt b/extensions/put extension here.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/extensions/stable-diffusion-webui-aesthetic-gradients b/extensions/stable-diffusion-webui-aesthetic-gradients deleted file mode 160000 index 411889ca..00000000 --- a/extensions/stable-diffusion-webui-aesthetic-gradients +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 411889ca602f20b8bb5e4d1af2b9686eab1913b1 diff --git a/extensions/stable-diffusion-webui-images-browse b/extensions/stable-diffusion-webui-images-browse deleted file mode 160000 index 6b8e158d..00000000 --- a/extensions/stable-diffusion-webui-images-browse +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6b8e158dc174f31f0bb73d74547917f5a6fba507 diff --git a/extensions/stable-diffusion-webui-inspiration b/extensions/stable-diffusion-webui-inspiration deleted file mode 160000 index 4cff5855..00000000 --- a/extensions/stable-diffusion-webui-inspiration +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4cff5855f3ca658fb5c9dd9745e5f2ae7bcc7074 diff --git a/extensions/stable-diffusion-webui-wildcards b/extensions/stable-diffusion-webui-wildcards deleted file mode 160000 index 2c0e7d7e..00000000 --- a/extensions/stable-diffusion-webui-wildcards +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2c0e7d7e19e6c2b76b83189013aadb822776301f From 394c4986211df4f7d9d8c9c26180edf8b9946d51 Mon Sep 17 00:00:00 2001 From: yfszzx Date: Mon, 24 Oct 2022 11:29:45 +0800 Subject: [PATCH 13/52] test --- extensions/stable-diffusion-webui-inspiration | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/stable-diffusion-webui-inspiration b/extensions/stable-diffusion-webui-inspiration index 4cff5855..a0b96664 160000 --- a/extensions/stable-diffusion-webui-inspiration +++ b/extensions/stable-diffusion-webui-inspiration @@ -1 +1 @@ -Subproject commit 4cff5855f3ca658fb5c9dd9745e5f2ae7bcc7074 +Subproject commit a0b96664d2524b87916ae463fbb65411b13a569b From fe9740d2f5fa057e02529f8a81de21333adf4234 Mon Sep 17 00:00:00 2001 From: judgeou Date: Sun, 23 Oct 2022 20:40:23 +0800 Subject: [PATCH 14/52] update deepdanbooru version --- launch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch.py b/launch.py index 333f308a..8affd410 100644 --- a/launch.py +++ b/launch.py @@ -111,7 +111,7 @@ def prepare_enviroment(): gfpgan_package = os.environ.get('GFPGAN_PACKAGE', "git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379") clip_package = os.environ.get('CLIP_PACKAGE', "git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1") - deepdanbooru_package = os.environ.get('DEEPDANBOORU_PACKAGE', "git+https://github.com/KichangKim/DeepDanbooru.git@edf73df4cdaeea2cf00e9ac08bd8a9026b7a7b26") + deepdanbooru_package = os.environ.get('DEEPDANBOORU_PACKAGE', "git+https://github.com/KichangKim/DeepDanbooru.git@d91a2963bf87c6a770d74894667e9ffa9f6de7ff") xformers_windows_package = os.environ.get('XFORMERS_WINDOWS_PACKAGE', 'https://github.com/C43H66N12O12S2/stable-diffusion-webui/releases/download/f/xformers-0.0.14.dev0-cp310-cp310-win_amd64.whl') From 68e9e978996c24772016ba9e4937367e91540681 Mon Sep 17 00:00:00 2001 From: Dynamic Date: Tue, 18 Oct 2022 19:07:17 +0900 Subject: [PATCH 15/52] Initial KR support - WIP Localization WIP --- ko-KR.json | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 ko-KR.json diff --git a/ko-KR.json b/ko-KR.json new file mode 100644 index 00000000..f93b3e16 --- /dev/null +++ b/ko-KR.json @@ -0,0 +1,76 @@ +{ + "txt2img": "텍스트→이미지", + "img2img": "이미지→이미지", + "Extras": "부가기능", + "PNG Info": "PNG 정보", + "History": "기록", + "Checkpoint Merger": "체크포인트 병합", + "Train": "훈련", + "Settings": "설정", + "Stable Diffusion checkpoint": "Stable Diffusion 체크포인트", + "Hypernetwork": "하이퍼네트워크", + "Stop At last layers of CLIP model": "CLIP 모델의 n번째 레이어에서 멈추기", + "Generate": "생성", + "Style 1": "스타일 1", + "Style 2": "스타일 2", + "Add a random artist to the prompt.": "프롬프트에 랜덤한 작가 추가", + "Read generation parameters from prompt or last generation if prompt is empty into user interface.": "클립보드에 복사된 정보로부터 설정값 읽어오기/프롬프트창이 비어있을경우 제일 최근 설정값 불러오기", + "Save style": "스타일 저장", + "Apply selected styles to current prompt": "현재 프롬프트에 선택된 스타일 적용", + "Do not do anything special": "아무것도 하지 않기", + "Generate forever": "반복 생성", + "Cancel generate forever": "반복 생성 취소", + "Interrupt": "중단", + "Skip": "건너뛰기", + "Stop processing images and return any results accumulated so far.": "이미지 생성을 중단하고 지금까지 진행된 결과물 출력", + "Stop processing current image and continue processing.": "현재 진행중인 이미지 생성을 중단하고 작업을 계속하기", + "Prompt": "프롬프트", + "Prompt (press Ctrl+Enter or Alt+Enter to generate)": "프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", + "Negative prompt": "네거티브 프롬프트", + "Negative prompt (press Ctrl+Enter or Alt+Enter to generate)": "네거티브 프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", + "Sampling Steps": "샘플링 스텝 수", + "Sampling method": "샘플링 방법", + "Which algorithm to use to produce the image": "이미지를 생성할 때 사용할 알고리즘", + "How many times to improve the generated image iteratively; higher values take longer; very low values can produce bad results": "생성된 이미지를 향상할 횟수; 매우 낮은 값은 만족스럽지 못한 결과물을 출력할 수 있음", + "Euler Ancestral - very creative, each can get a completely different picture depending on step count, setting steps to higher than 30-40 does not help": "Euler Ancestral - 매우 창의적, 스텝 수에 따라 완전히 다른 결과물이 나올 수 있음. 30~40보다 높은 스텝 수는 효과가 미미함", + "Denoising Diffusion Implicit Models - best at inpainting": "Denoising Diffusion Implicit Models - 인페이팅에 뛰어남", + "Width": "가로", + "Height": "세로", + "Restore faces": "얼굴 보정", + "Restore low quality faces using GFPGAN neural network": "GFPGAN 신경망을 이용해 저품질의 얼굴을 보정합니다.", + "Tiling": "타일링", + "Produce an image that can be tiled.": "타일링 가능한 이미지를 생성합니다.", + "Highres. fix": "고해상도 보정", + "Use a two step process to partially create an image at smaller resolution, upscale, and then improve details in it without changing composition": "저해상도 이미지를 1차적으로 생성 후 업스케일을 진행하여, 구성을 바꾸지 않고 세부적인 디테일을 향상시킵니다.", + "Firstpass width": "초기 가로길이", + "Firstpass height": "초기 세로길이", + "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. With values below 1.0, processing will take less steps than the Sampling Steps slider specifies.": "알고리즘이 얼마나 원본 이미지를 반영할지를 결정하는 수치입니다. 0일 경우 아무것도 바뀌지 않고, 1일 경우 원본 이미지와 전혀 관련없는 결과물을 얻게 됩니다. 1.0 아래의 값일 경우, 설정된 샘플링 스텝 수보다 적은 스텝 수를 거치게 됩니다.", + "Batch count": "배치 수", + "Batch size": "배치 크기", + "How many batches of images to create": "생성할 이미지 배치 수", + "How many image to create in a single batch": "한 배치당 이미지 수", + "CFG Scale": "CFG 스케일", + "Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results": "Classifier Free Guidance Scale - 이미지가 주어진 프롬프트를 얼마나 따를지를 정해주는 수치 - 낮은 값일수록 더 창의적인 결과물이 나옴", + "Seed": "시드", + "A value that determines the output of random number generator - if you create an image with same parameters and seed as another image, you'll get the same result": "난수 생성기의 결과물을 지정하는 값 - 동일한 설정값과 동일한 시드를 적용 시, 완전히 똑같은 결과물을 얻게 됩니다.", + "Set seed to -1, which will cause a new random number to be used every time": "시드를 -1로 적용 - 매번 랜덤한 시드가 적용되게 됩니다.", + "Reuse seed from last generation, mostly useful if it was randomed": "이전 생성에서 사용된 시드를 불러옵니다. 랜덤하게 생성했을 시 도움됨", + "Extra": "고급", + "Variation seed": "바리에이션 시드", + "Variation strength": "바리에이션 강도", + "Seed of a different picture to be mixed into the generation.": "결과물에 섞일 다른 그림의 시드", + "How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).": "바리에이션을 얼마나 줄지 정하는 수치 - 0일 경우 아무것도 바뀌지 않고, 1일 경우 바리에이션 시드로부터 생성된 이미지를 얻게 됩니다. (Ancestral 샘플러 제외 - 이 경우에는 좀 다른 무언가를 얻게 됩니다)", + "Resize seed from height": "시드 리사이징 가로길이", + "Resize seed from width": "시드 리사이징 세로길이", + "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "동일한 시드 값으로 생성되었을 이미지를 주어진 해상도로 최대한 유사하게 재현합니다.", + "Script": "스크립트", + "Save": "저장", + "Write image to a directory (default - log/images) and generation parameters into csv file.": "이미지를 경로에 저장하고, 설정값들을 csv 파일로 저장합니다. (기본 경로 - log/images)", + "Send to img2img": "이미지→이미지로 전송", + "Send to inpaint": "인페인트로 전송", + "Send to extras": "부가기능으로 전송", + "Open images output directory": "이미지 저장 경로 열기", + "Make Zip when Save?": "저장 시 Zip 생성하기", + "Always save all generated images": "생성된 이미지 항상 저장하기" +} \ No newline at end of file From e7eea555715320a7b1977bf0e12c5ca1e2774a09 Mon Sep 17 00:00:00 2001 From: Dynamic Date: Tue, 18 Oct 2022 20:11:17 +0900 Subject: [PATCH 16/52] Update ko-KR.json --- localizations/ko-KR.json | 85 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 localizations/ko-KR.json diff --git a/localizations/ko-KR.json b/localizations/ko-KR.json new file mode 100644 index 00000000..a4367dc5 --- /dev/null +++ b/localizations/ko-KR.json @@ -0,0 +1,85 @@ +{ + "⤡": "⤡", + "⊞": "⊞", + "×": "×", + "❮": "❮", + "❯": "❯", + "Loading...": "로딩중...", + "view": "", + "api": "api", + "•": "•", + "txt2img": "텍스트→이미지", + "img2img": "이미지→이미지", + "Extras": "부가기능", + "PNG Info": "PNG 정보", + "History": "기록", + "Checkpoint Merger": "체크포인트 병합", + "Train": "훈련", + "Settings": "설정", + "Stable Diffusion checkpoint": "Stable Diffusion 체크포인트", + "Hypernetwork": "하이퍼네트워크", + "Stop At last layers of CLIP model": "CLIP 모델의 n번째 레이어에서 멈추기", + "Generate": "생성", + "Style 1": "스타일 1", + "Style 2": "스타일 2", + "Add a random artist to the prompt.": "프롬프트에 랜덤한 작가 추가", + "Read generation parameters from prompt or last generation if prompt is empty into user interface.": "클립보드에 복사된 정보로부터 설정값 읽어오기/프롬프트창이 비어있을경우 제일 최근 설정값 불러오기", + "Save style": "스타일 저장", + "Apply selected styles to current prompt": "현재 프롬프트에 선택된 스타일 적용", + "Do not do anything special": "아무것도 하지 않기", + "Generate forever": "반복 생성", + "Cancel generate forever": "반복 생성 취소", + "Interrupt": "중단", + "Skip": "건너뛰기", + "Stop processing images and return any results accumulated so far.": "이미지 생성을 중단하고 지금까지 진행된 결과물 출력", + "Stop processing current image and continue processing.": "현재 진행중인 이미지 생성을 중단하고 작업을 계속하기", + "Prompt": "프롬프트", + "Prompt (press Ctrl+Enter or Alt+Enter to generate)": "프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", + "Negative prompt": "네거티브 프롬프트", + "Negative prompt (press Ctrl+Enter or Alt+Enter to generate)": "네거티브 프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", + "Sampling Steps": "샘플링 스텝 수", + "Sampling method": "샘플링 방법", + "Which algorithm to use to produce the image": "이미지를 생성할 때 사용할 알고리즘", + "How many times to improve the generated image iteratively; higher values take longer; very low values can produce bad results": "생성된 이미지를 향상할 횟수; 매우 낮은 값은 만족스럽지 못한 결과물을 출력할 수 있음", + "Euler Ancestral - very creative, each can get a completely different picture depending on step count, setting steps to higher than 30-40 does not help": "Euler Ancestral - 매우 창의적, 스텝 수에 따라 완전히 다른 결과물이 나올 수 있음. 30~40보다 높은 스텝 수는 효과가 미미함", + "Denoising Diffusion Implicit Models - best at inpainting": "Denoising Diffusion Implicit Models - 인페이팅에 뛰어남", + "Width": "가로", + "Height": "세로", + "Restore faces": "얼굴 보정", + "Restore low quality faces using GFPGAN neural network": "GFPGAN 신경망을 이용해 저품질의 얼굴을 보정합니다.", + "Tiling": "타일링", + "Produce an image that can be tiled.": "타일링 가능한 이미지를 생성합니다.", + "Highres. fix": "고해상도 보정", + "Use a two step process to partially create an image at smaller resolution, upscale, and then improve details in it without changing composition": "저해상도 이미지를 1차적으로 생성 후 업스케일을 진행하여, 구성을 바꾸지 않고 세부적인 디테일을 향상시킵니다.", + "Firstpass width": "초기 가로길이", + "Firstpass height": "초기 세로길이", + "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. With values below 1.0, processing will take less steps than the Sampling Steps slider specifies.": "알고리즘이 얼마나 원본 이미지를 반영할지를 결정하는 수치입니다. 0일 경우 아무것도 바뀌지 않고, 1일 경우 원본 이미지와 전혀 관련없는 결과물을 얻게 됩니다. 1.0 아래의 값일 경우, 설정된 샘플링 스텝 수보다 적은 스텝 수를 거치게 됩니다.", + "Batch count": "배치 수", + "Batch size": "배치 크기", + "How many batches of images to create": "생성할 이미지 배치 수", + "How many image to create in a single batch": "한 배치당 이미지 수", + "CFG Scale": "CFG 스케일", + "Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results": "Classifier Free Guidance Scale - 이미지가 주어진 프롬프트를 얼마나 따를지를 정해주는 수치 - 낮은 값일수록 더 창의적인 결과물이 나옴", + "Seed": "시드", + "A value that determines the output of random number generator - if you create an image with same parameters and seed as another image, you'll get the same result": "난수 생성기의 결과물을 지정하는 값 - 동일한 설정값과 동일한 시드를 적용 시, 완전히 똑같은 결과물을 얻게 됩니다.", + "Set seed to -1, which will cause a new random number to be used every time": "시드를 -1로 적용 - 매번 랜덤한 시드가 적용되게 됩니다.", + "Reuse seed from last generation, mostly useful if it was randomed": "이전 생성에서 사용된 시드를 불러옵니다. 랜덤하게 생성했을 시 도움됨", + "Extra": "고급", + "Variation seed": "바리에이션 시드", + "Variation strength": "바리에이션 강도", + "Seed of a different picture to be mixed into the generation.": "결과물에 섞일 다른 그림의 시드", + "How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).": "바리에이션을 얼마나 줄지 정하는 수치 - 0일 경우 아무것도 바뀌지 않고, 1일 경우 바리에이션 시드로부터 생성된 이미지를 얻게 됩니다. (Ancestral 샘플러 제외 - 이 경우에는 좀 다른 무언가를 얻게 됩니다)", + "Resize seed from height": "시드 리사이징 가로길이", + "Resize seed from width": "시드 리사이징 세로길이", + "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "동일한 시드 값으로 생성되었을 이미지를 주어진 해상도로 최대한 유사하게 재현합니다.", + "Script": "스크립트", + "Save": "저장", + "Write image to a directory (default - log/images) and generation parameters into csv file.": "이미지를 경로에 저장하고, 설정값들을 csv 파일로 저장합니다. (기본 경로 - log/images)", + "Send to img2img": "이미지→이미지로 전송", + "Send to inpaint": "인페인트로 전송", + "Send to extras": "부가기능으로 전송", + "Open images output directory": "이미지 저장 경로 열기", + "Make Zip when Save?": "저장 시 Zip 생성하기", + "Always save all generated images": "생성된 이미지 항상 저장하기" +} \ No newline at end of file From 021b02751ef08f8f5fc7cc2a3d7e40c599657dc4 Mon Sep 17 00:00:00 2001 From: Dynamic Date: Tue, 18 Oct 2022 20:12:54 +0900 Subject: [PATCH 17/52] Move ko-KR.json --- ko-KR.json | 76 ------------------------------------------------------ 1 file changed, 76 deletions(-) delete mode 100644 ko-KR.json diff --git a/ko-KR.json b/ko-KR.json deleted file mode 100644 index f93b3e16..00000000 --- a/ko-KR.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "txt2img": "텍스트→이미지", - "img2img": "이미지→이미지", - "Extras": "부가기능", - "PNG Info": "PNG 정보", - "History": "기록", - "Checkpoint Merger": "체크포인트 병합", - "Train": "훈련", - "Settings": "설정", - "Stable Diffusion checkpoint": "Stable Diffusion 체크포인트", - "Hypernetwork": "하이퍼네트워크", - "Stop At last layers of CLIP model": "CLIP 모델의 n번째 레이어에서 멈추기", - "Generate": "생성", - "Style 1": "스타일 1", - "Style 2": "스타일 2", - "Add a random artist to the prompt.": "프롬프트에 랜덤한 작가 추가", - "Read generation parameters from prompt or last generation if prompt is empty into user interface.": "클립보드에 복사된 정보로부터 설정값 읽어오기/프롬프트창이 비어있을경우 제일 최근 설정값 불러오기", - "Save style": "스타일 저장", - "Apply selected styles to current prompt": "현재 프롬프트에 선택된 스타일 적용", - "Do not do anything special": "아무것도 하지 않기", - "Generate forever": "반복 생성", - "Cancel generate forever": "반복 생성 취소", - "Interrupt": "중단", - "Skip": "건너뛰기", - "Stop processing images and return any results accumulated so far.": "이미지 생성을 중단하고 지금까지 진행된 결과물 출력", - "Stop processing current image and continue processing.": "현재 진행중인 이미지 생성을 중단하고 작업을 계속하기", - "Prompt": "프롬프트", - "Prompt (press Ctrl+Enter or Alt+Enter to generate)": "프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", - "Negative prompt": "네거티브 프롬프트", - "Negative prompt (press Ctrl+Enter or Alt+Enter to generate)": "네거티브 프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", - "Sampling Steps": "샘플링 스텝 수", - "Sampling method": "샘플링 방법", - "Which algorithm to use to produce the image": "이미지를 생성할 때 사용할 알고리즘", - "How many times to improve the generated image iteratively; higher values take longer; very low values can produce bad results": "생성된 이미지를 향상할 횟수; 매우 낮은 값은 만족스럽지 못한 결과물을 출력할 수 있음", - "Euler Ancestral - very creative, each can get a completely different picture depending on step count, setting steps to higher than 30-40 does not help": "Euler Ancestral - 매우 창의적, 스텝 수에 따라 완전히 다른 결과물이 나올 수 있음. 30~40보다 높은 스텝 수는 효과가 미미함", - "Denoising Diffusion Implicit Models - best at inpainting": "Denoising Diffusion Implicit Models - 인페이팅에 뛰어남", - "Width": "가로", - "Height": "세로", - "Restore faces": "얼굴 보정", - "Restore low quality faces using GFPGAN neural network": "GFPGAN 신경망을 이용해 저품질의 얼굴을 보정합니다.", - "Tiling": "타일링", - "Produce an image that can be tiled.": "타일링 가능한 이미지를 생성합니다.", - "Highres. fix": "고해상도 보정", - "Use a two step process to partially create an image at smaller resolution, upscale, and then improve details in it without changing composition": "저해상도 이미지를 1차적으로 생성 후 업스케일을 진행하여, 구성을 바꾸지 않고 세부적인 디테일을 향상시킵니다.", - "Firstpass width": "초기 가로길이", - "Firstpass height": "초기 세로길이", - "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. With values below 1.0, processing will take less steps than the Sampling Steps slider specifies.": "알고리즘이 얼마나 원본 이미지를 반영할지를 결정하는 수치입니다. 0일 경우 아무것도 바뀌지 않고, 1일 경우 원본 이미지와 전혀 관련없는 결과물을 얻게 됩니다. 1.0 아래의 값일 경우, 설정된 샘플링 스텝 수보다 적은 스텝 수를 거치게 됩니다.", - "Batch count": "배치 수", - "Batch size": "배치 크기", - "How many batches of images to create": "생성할 이미지 배치 수", - "How many image to create in a single batch": "한 배치당 이미지 수", - "CFG Scale": "CFG 스케일", - "Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results": "Classifier Free Guidance Scale - 이미지가 주어진 프롬프트를 얼마나 따를지를 정해주는 수치 - 낮은 값일수록 더 창의적인 결과물이 나옴", - "Seed": "시드", - "A value that determines the output of random number generator - if you create an image with same parameters and seed as another image, you'll get the same result": "난수 생성기의 결과물을 지정하는 값 - 동일한 설정값과 동일한 시드를 적용 시, 완전히 똑같은 결과물을 얻게 됩니다.", - "Set seed to -1, which will cause a new random number to be used every time": "시드를 -1로 적용 - 매번 랜덤한 시드가 적용되게 됩니다.", - "Reuse seed from last generation, mostly useful if it was randomed": "이전 생성에서 사용된 시드를 불러옵니다. 랜덤하게 생성했을 시 도움됨", - "Extra": "고급", - "Variation seed": "바리에이션 시드", - "Variation strength": "바리에이션 강도", - "Seed of a different picture to be mixed into the generation.": "결과물에 섞일 다른 그림의 시드", - "How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).": "바리에이션을 얼마나 줄지 정하는 수치 - 0일 경우 아무것도 바뀌지 않고, 1일 경우 바리에이션 시드로부터 생성된 이미지를 얻게 됩니다. (Ancestral 샘플러 제외 - 이 경우에는 좀 다른 무언가를 얻게 됩니다)", - "Resize seed from height": "시드 리사이징 가로길이", - "Resize seed from width": "시드 리사이징 세로길이", - "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "동일한 시드 값으로 생성되었을 이미지를 주어진 해상도로 최대한 유사하게 재현합니다.", - "Script": "스크립트", - "Save": "저장", - "Write image to a directory (default - log/images) and generation parameters into csv file.": "이미지를 경로에 저장하고, 설정값들을 csv 파일로 저장합니다. (기본 경로 - log/images)", - "Send to img2img": "이미지→이미지로 전송", - "Send to inpaint": "인페인트로 전송", - "Send to extras": "부가기능으로 전송", - "Open images output directory": "이미지 저장 경로 열기", - "Make Zip when Save?": "저장 시 Zip 생성하기", - "Always save all generated images": "생성된 이미지 항상 저장하기" -} \ No newline at end of file From 1a96f856c4c3348708974b80d0de5a8ac18c1799 Mon Sep 17 00:00:00 2001 From: Dynamic Date: Tue, 18 Oct 2022 21:50:34 +0900 Subject: [PATCH 18/52] update ko-KR.json Translated all text on txt2img window, plus some extra --- localizations/ko-KR.json | 42 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/localizations/ko-KR.json b/localizations/ko-KR.json index a4367dc5..c6e55bb1 100644 --- a/localizations/ko-KR.json +++ b/localizations/ko-KR.json @@ -4,9 +4,10 @@ "×": "×", "❮": "❮", "❯": "❯", - "Loading...": "로딩중...", - "view": "", - "api": "api", + "Loading...": "", + "view": "api 보이기", + "hide": "api 숨기기", + "api": "", "•": "•", "txt2img": "텍스트→이미지", "img2img": "이미지→이미지", @@ -50,7 +51,7 @@ "Tiling": "타일링", "Produce an image that can be tiled.": "타일링 가능한 이미지를 생성합니다.", "Highres. fix": "고해상도 보정", - "Use a two step process to partially create an image at smaller resolution, upscale, and then improve details in it without changing composition": "저해상도 이미지를 1차적으로 생성 후 업스케일을 진행하여, 구성을 바꾸지 않고 세부적인 디테일을 향상시킵니다.", + "Use a two step process to partially create an image at smaller resolution, upscale, and then improve details in it without changing composition": "저해상도 이미지를 1차적으로 생성 후 업스케일을 진행하여, 이미지의 전체적인 구성을 바꾸지 않고 세부적인 디테일을 향상시킵니다.", "Firstpass width": "초기 가로길이", "Firstpass height": "초기 세로길이", "Denoising strength": "디노이즈 강도", @@ -81,5 +82,38 @@ "Send to extras": "부가기능으로 전송", "Open images output directory": "이미지 저장 경로 열기", "Make Zip when Save?": "저장 시 Zip 생성하기", + "Prompt matrix": "프롬프트 매트릭스", + "Separate prompts into parts using vertical pipe character (|) and the script will create a picture for every combination of them (except for the first part, which will be present in all combinations)": "(|)를 이용해 프롬프트를 분리할 시 첫 프롬프트를 제외하고 모든 프롬프트의 조합마다 이미지를 생성합니다. 첫 프롬프트는 모든 조합에 포함되게 됩니다.", + "Put variable parts at start of prompt": "변경되는 프롬프트를 앞에 위치시키기", + "Prompts from file or textbox": "파일이나 텍스트박스로부터 프롬프트 불러오기", + "Show Textbox": "텍스트박스 보이기", + "File with inputs": "설정값 파일", + "Prompts": "프롬프트", + "X/Y plot": "X/Y 플롯", + "Create a grid where images will have different parameters. Use inputs below to specify which parameters will be shared by columns and rows": "서로 다른 설정값으로 생성된 이미지의 그리드를 만듭니다. 아래의 설정으로 가로/세로에 어떤 설정값을 적용할지 선택하세요.", + "X type": "X축", + "Y type": "Y축", + "X values": "X 설정값", + "Y values": "Y 설정값", + "Separate values for X axis using commas.": "쉼표로 X축에 적용할 값 분리", + "Separate values for Y axis using commas.": "쉼표로 Y축에 적용할 값 분리", + "Draw legend": "범례 그리기", + "Include Separate Images": "분리된 이미지 포함하기", + "Keep -1 for seeds": "시드값 -1로 유지", + "Var. seed": "바리에이션 시드", + "Var. strength": "바리에이션 강도", + "Steps": "스텝 수", + "Prompt S/R": "프롬프트 스타일 변경", + "Prompt order": "프롬프트 순서", + "Sampler": "샘플러", + "Checkpoint name": "체크포인트 이름", + "Hypernet str.": "하이퍼네트워크 강도", + "Sigma Churn": "시그마 섞기", + "Sigma min": "시그마 최솟값", + "Sigma max": "시그마 최댓값", + "Sigma noise": "시그마 노이즈", + "Clip skip": "클립 건너뛰기", + "Denoising": "디노이징", + "Nothing": "없음", "Always save all generated images": "생성된 이미지 항상 저장하기" } \ No newline at end of file From e210b61d6a4189817e27b7a4f3c1028cdb67a868 Mon Sep 17 00:00:00 2001 From: Dynamic Date: Tue, 18 Oct 2022 22:12:41 +0900 Subject: [PATCH 19/52] update ko-KR.json --- localizations/ko-KR.json | 1 + 1 file changed, 1 insertion(+) diff --git a/localizations/ko-KR.json b/localizations/ko-KR.json index c6e55bb1..b263b13c 100644 --- a/localizations/ko-KR.json +++ b/localizations/ko-KR.json @@ -115,5 +115,6 @@ "Clip skip": "클립 건너뛰기", "Denoising": "디노이징", "Nothing": "없음", + "Apply settings": "설정 적용하기", "Always save all generated images": "생성된 이미지 항상 저장하기" } \ No newline at end of file From 499713c54697ae7ccdb264316307f4aa2c39faea Mon Sep 17 00:00:00 2001 From: Dynamic Date: Thu, 20 Oct 2022 19:20:39 +0900 Subject: [PATCH 20/52] Updated file with basic template and added new translations Translation done in txt2img-img2img windows and following scripts --- localizations/ko-KR.json | 498 +++++++++++++++++++++++++++++++-------- 1 file changed, 400 insertions(+), 98 deletions(-) diff --git a/localizations/ko-KR.json b/localizations/ko-KR.json index b263b13c..7cc431c6 100644 --- a/localizations/ko-KR.json +++ b/localizations/ko-KR.json @@ -1,120 +1,422 @@ { - "⤡": "⤡", - "⊞": "⊞", "×": "×", + "•": "•", + "⊞": "⊞", "❮": "❮", "❯": "❯", - "Loading...": "", - "view": "api 보이기", - "hide": "api 숨기기", - "api": "", - "•": "•", - "txt2img": "텍스트→이미지", - "img2img": "이미지→이미지", - "Extras": "부가기능", - "PNG Info": "PNG 정보", - "History": "기록", - "Checkpoint Merger": "체크포인트 병합", - "Train": "훈련", - "Settings": "설정", - "Stable Diffusion checkpoint": "Stable Diffusion 체크포인트", - "Hypernetwork": "하이퍼네트워크", - "Stop At last layers of CLIP model": "CLIP 모델의 n번째 레이어에서 멈추기", - "Generate": "생성", - "Style 1": "스타일 1", - "Style 2": "스타일 2", + "⤡": "⤡", + "1st and last digit must be 1. ex:'1, 2, 1'": "1st and last digit must be 1. ex:'1, 2, 1'", + "A directory on the same machine where the server is running.": "A directory on the same machine where the server is running.", + "A merger of the two checkpoints will be generated in your": "A merger of the two checkpoints will be generated in your", + "A value that determines the output of random number generator - if you create an image with same parameters and seed as another image, you'll get the same result": "난수 생성기의 결과물을 지정하는 값 - 동일한 설정값과 동일한 시드를 적용 시, 완전히 똑같은 결과물을 얻게 됩니다.", "Add a random artist to the prompt.": "프롬프트에 랜덤한 작가 추가", - "Read generation parameters from prompt or last generation if prompt is empty into user interface.": "클립보드에 복사된 정보로부터 설정값 읽어오기/프롬프트창이 비어있을경우 제일 최근 설정값 불러오기", - "Save style": "스타일 저장", + "Add a second progress bar to the console that shows progress for an entire job.": "Add a second progress bar to the console that shows progress for an entire job.", + "Add difference": "Add difference", + "Add extended info (seed, prompt) to filename when saving grid": "Add extended info (seed, prompt) to filename when saving grid", + "Add layer normalization": "Add layer normalization", + "Add model hash to generation information": "Add model hash to generation information", + "Add model name to generation information": "Add model name to generation information", + "Always print all generation info to standard output": "Always print all generation info to standard output", + "Always save all generated image grids": "Always save all generated image grids", + "Always save all generated images": "생성된 이미지 항상 저장하기", + "Apply color correction to img2img results to match original colors.": "Apply color correction to img2img results to match original colors.", "Apply selected styles to current prompt": "현재 프롬프트에 선택된 스타일 적용", - "Do not do anything special": "아무것도 하지 않기", - "Generate forever": "반복 생성", - "Cancel generate forever": "반복 생성 취소", - "Interrupt": "중단", - "Skip": "건너뛰기", - "Stop processing images and return any results accumulated so far.": "이미지 생성을 중단하고 지금까지 진행된 결과물 출력", - "Stop processing current image and continue processing.": "현재 진행중인 이미지 생성을 중단하고 작업을 계속하기", - "Prompt": "프롬프트", - "Prompt (press Ctrl+Enter or Alt+Enter to generate)": "프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", - "Negative prompt": "네거티브 프롬프트", - "Negative prompt (press Ctrl+Enter or Alt+Enter to generate)": "네거티브 프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", - "Sampling Steps": "샘플링 스텝 수", - "Sampling method": "샘플링 방법", - "Which algorithm to use to produce the image": "이미지를 생성할 때 사용할 알고리즘", - "How many times to improve the generated image iteratively; higher values take longer; very low values can produce bad results": "생성된 이미지를 향상할 횟수; 매우 낮은 값은 만족스럽지 못한 결과물을 출력할 수 있음", - "Euler Ancestral - very creative, each can get a completely different picture depending on step count, setting steps to higher than 30-40 does not help": "Euler Ancestral - 매우 창의적, 스텝 수에 따라 완전히 다른 결과물이 나올 수 있음. 30~40보다 높은 스텝 수는 효과가 미미함", - "Denoising Diffusion Implicit Models - best at inpainting": "Denoising Diffusion Implicit Models - 인페이팅에 뛰어남", - "Width": "가로", - "Height": "세로", - "Restore faces": "얼굴 보정", - "Restore low quality faces using GFPGAN neural network": "GFPGAN 신경망을 이용해 저품질의 얼굴을 보정합니다.", - "Tiling": "타일링", - "Produce an image that can be tiled.": "타일링 가능한 이미지를 생성합니다.", - "Highres. fix": "고해상도 보정", - "Use a two step process to partially create an image at smaller resolution, upscale, and then improve details in it without changing composition": "저해상도 이미지를 1차적으로 생성 후 업스케일을 진행하여, 이미지의 전체적인 구성을 바꾸지 않고 세부적인 디테일을 향상시킵니다.", - "Firstpass width": "초기 가로길이", - "Firstpass height": "초기 세로길이", - "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. With values below 1.0, processing will take less steps than the Sampling Steps slider specifies.": "알고리즘이 얼마나 원본 이미지를 반영할지를 결정하는 수치입니다. 0일 경우 아무것도 바뀌지 않고, 1일 경우 원본 이미지와 전혀 관련없는 결과물을 얻게 됩니다. 1.0 아래의 값일 경우, 설정된 샘플링 스텝 수보다 적은 스텝 수를 거치게 됩니다.", + "Apply settings": "설정 적용하기", + "BSRGAN 4x": "BSRGAN 4x", + "Batch Process": "Batch Process", "Batch count": "배치 수", + "Batch from Directory": "Batch from Directory", + "Batch img2img": "이미지→이미지 배치", "Batch size": "배치 크기", + "CFG Scale": "CFG 스케일", + "CLIP: maximum number of lines in text file (0 = No limit)": "CLIP: maximum number of lines in text file (0 = No limit)", + "Cancel generate forever": "반복 생성 취소", + "Check progress (first)": "Check progress (first)", + "Check progress": "Check progress", + "Checkpoint Merger": "체크포인트 병합", + "Checkpoint name": "체크포인트 이름", + "Checkpoints to cache in RAM": "Checkpoints to cache in RAM", + "Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results": "Classifier Free Guidance Scale - 이미지가 주어진 프롬프트를 얼마나 따를지를 정해주는 수치 - 낮은 값일수록 더 창의적인 결과물이 나옴", + "Clip skip": "클립 건너뛰기", + "CodeFormer visibility": "CodeFormer visibility", + "CodeFormer weight (0 = maximum effect, 1 = minimum effect)": "CodeFormer weight (0 = maximum effect, 1 = minimum effect)", + "CodeFormer weight parameter; 0 = maximum effect; 1 = minimum effect": "CodeFormer weight parameter; 0 = maximum effect; 1 = minimum effect", + "Color variation": "색깔 다양성", + "Create a grid where images will have different parameters. Use inputs below to specify which parameters will be shared by columns and rows": "서로 다른 설정값으로 생성된 이미지의 그리드를 만듭니다. 아래의 설정으로 가로/세로에 어떤 설정값을 적용할지 선택하세요.", + "Create a text file next to every image with generation parameters.": "Create a text file next to every image with generation parameters.", + "Create embedding": "Create embedding", + "Create flipped copies": "Create flipped copies", + "Create hypernetwork": "Create hypernetwork", + "Crop and resize": "잘라낸 후 리사이징", + "Crop to fit": "Crop to fit", + "Custom Name (Optional)": "Custom Name (Optional)", + "DDIM": "DDIM", + "DPM adaptive": "DPM adaptive", + "DPM fast": "DPM fast", + "DPM2 Karras": "DPM2 Karras", + "DPM2 a Karras": "DPM2 a Karras", + "DPM2 a": "DPM2 a", + "DPM2": "DPM2", + "Dataset directory": "Dataset directory", + "Decode CFG scale": "디코딩 CFG 스케일", + "Decode steps": "디코딩 스텝 수", + "Delete": "Delete", + "Denoising Diffusion Implicit Models - best at inpainting": "Denoising Diffusion Implicit Models - 인페이팅에 뛰어남", + "Denoising strength change factor": "디노이즈 강도 변경 배수", + "Denoising strength": "디노이즈 강도", + "Denoising": "디노이징", + "Destination directory": "Destination directory", + "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. With values below 1.0, processing will take less steps than the Sampling Steps slider specifies.": "알고리즘이 얼마나 원본 이미지를 반영할지를 결정하는 수치입니다. 0일 경우 아무것도 바뀌지 않고, 1일 경우 원본 이미지와 전혀 관련없는 결과물을 얻게 됩니다. 1.0 아래의 값일 경우, 설정된 샘플링 스텝 수보다 적은 스텝 수를 거치게 됩니다.", + "Directory for saving images using the Save button": "Directory for saving images using the Save button", + "Directory name pattern": "Directory name pattern", + "Do not add watermark to images": "Do not add watermark to images", + "Do not do anything special": "아무것도 하지 않기", + "Do not save grids consisting of one picture": "Do not save grids consisting of one picture", + "Do not show any images in results for web": "Do not show any images in results for web", + "Download localization template": "Download localization template", + "Draw legend": "범례 그리기", + "Draw mask": "마스크 직접 그리기", + "Drop File Here": "Drop File Here", + "Drop Image Here": "Drop Image Here", + "ESRGAN_4x": "ESRGAN_4x", + "Embedding": "Embedding", + "Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention": "Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention", + "Enable full page image viewer": "Enable full page image viewer", + "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.": "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.", + "End Page": "End Page", + "Enter hypernetwork layer structure": "Enter hypernetwork layer structure", + "Eta noise seed delta": "Eta noise seed delta", + "Eta": "Eta", + "Euler Ancestral - very creative, each can get a completely different picture depending on step count, setting steps to higher than 30-40 does not help": "Euler Ancestral - 매우 창의적, 스텝 수에 따라 완전히 다른 결과물이 나올 수 있음. 30~40보다 높은 스텝 수는 효과가 미미함", + "Euler a": "Euler a", + "Euler": "Euler", + "Extra": "고급", + "Extras": "부가기능", + "Face restoration": "Face restoration", + "Fall-off exponent (lower=higher detail)": "감쇠 지수 (낮을수록 디테일이 올라감)", + "File Name": "File Name", + "File format for grids": "File format for grids", + "File format for images": "File format for images", + "File with inputs": "설정값 파일", + "File": "File", + "Filename join string": "Filename join string", + "Filename word regex": "Filename word regex", + "Filter NSFW content": "Filter NSFW content", + "First Page": "First Page", + "Firstpass height": "초기 세로길이", + "Firstpass width": "초기 가로길이", + "Font for image grids that have text": "Font for image grids that have text", + "For SD upscale, how much overlap in pixels should there be between tiles. Tiles overlap so that when they are merged back into one picture, there is no clearly visible seam.": "SD 업스케일링에서 타일 간 몇 픽셀을 겹치게 할지 결정하는 설정값입니다. 타일들이 다시 한 이미지로 합쳐질 때, 눈에 띄는 이음매가 없도록 서로 겹치게 됩니다.", + "GFPGAN visibility": "GFPGAN visibility", + "Generate Info": "Generate Info", + "Generate forever": "반복 생성", + "Generate": "생성", + "Grid row count; use -1 for autodetect and 0 for it to be same as batch size": "Grid row count; use -1 for autodetect and 0 for it to be same as batch size", + "Height": "세로", + "Heun": "Heun", + "Hide samplers in user interface (requires restart)": "Hide samplers in user interface (requires restart)", + "Highres. fix": "고해상도 보정", + "History": "기록", "How many batches of images to create": "생성할 이미지 배치 수", "How many image to create in a single batch": "한 배치당 이미지 수", - "CFG Scale": "CFG 스케일", - "Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results": "Classifier Free Guidance Scale - 이미지가 주어진 프롬프트를 얼마나 따를지를 정해주는 수치 - 낮은 값일수록 더 창의적인 결과물이 나옴", - "Seed": "시드", - "A value that determines the output of random number generator - if you create an image with same parameters and seed as another image, you'll get the same result": "난수 생성기의 결과물을 지정하는 값 - 동일한 설정값과 동일한 시드를 적용 시, 완전히 똑같은 결과물을 얻게 됩니다.", - "Set seed to -1, which will cause a new random number to be used every time": "시드를 -1로 적용 - 매번 랜덤한 시드가 적용되게 됩니다.", - "Reuse seed from last generation, mostly useful if it was randomed": "이전 생성에서 사용된 시드를 불러옵니다. 랜덤하게 생성했을 시 도움됨", - "Extra": "고급", - "Variation seed": "바리에이션 시드", - "Variation strength": "바리에이션 강도", - "Seed of a different picture to be mixed into the generation.": "결과물에 섞일 다른 그림의 시드", + "How many times to improve the generated image iteratively; higher values take longer; very low values can produce bad results": "생성된 이미지를 향상할 횟수; 매우 낮은 값은 만족스럽지 못한 결과물을 출력할 수 있음", + "How many times to repeat processing an image and using it as input for the next iteration": "이미지를 생성 후 원본으로 몇 번 반복해서 사용할지 결정하는 값", + "How much to blur the mask before processing, in pixels.": "이미지 생성 전 마스크를 얼마나 블러처리할지 결정하는 값. 픽셀 단위", "How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).": "바리에이션을 얼마나 줄지 정하는 수치 - 0일 경우 아무것도 바뀌지 않고, 1일 경우 바리에이션 시드로부터 생성된 이미지를 얻게 됩니다. (Ancestral 샘플러 제외 - 이 경우에는 좀 다른 무언가를 얻게 됩니다)", + "Hypernet str.": "하이퍼네트워크 강도", + "Hypernetwork strength": "Hypernetwork strength", + "Hypernetwork": "하이퍼네트워크", + "If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG": "If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG", + "If this option is enabled, watermark will not be added to created images. Warning: if you do not add watermark, you may be behaving in an unethical manner.": "If this option is enabled, watermark will not be added to created images. Warning: if you do not add watermark, you may be behaving in an unethical manner.", + "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.": "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.", + "Image for img2img": "Image for img2img", + "Image for inpainting with mask": "Image for inpainting with mask", + "Image": "Image", + "Images filename pattern": "Images filename pattern", + "In loopback mode, on each loop the denoising strength is multiplied by this value. <1 means decreasing variety so your sequence will converge on a fixed picture. >1 means increasing variety so your sequence will become more and more chaotic.": "루프백 모드에서는 매 루프마다 디노이즈 강도에 이 값이 곱해집니다. 1보다 작을 경우 다양성이 낮아져 결과 이미지들이 고정된 형태로 모일 겁니다. 1보다 클 경우 다양성이 높아져 결과 이미지들이 갈수록 혼란스러워지겠죠.", + "Include Separate Images": "분리된 이미지 포함하기", + "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens": "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens", + "Initialization text": "Initialization text", + "Inpaint at full resolution padding, pixels": "전체 해상도로 인페인트 패딩값(픽셀 단위)", + "Inpaint at full resolution": "전체 해상도로 인페인트하기", + "Inpaint masked": "마스크만 처리", + "Inpaint not masked": "마스크 이외만 처리", + "Inpaint": "인페인트", + "Input directory": "인풋 이미지 경로", + "Interpolation Method": "Interpolation Method", + "Interrogate\nCLIP": "CLIP\n분석", + "Interrogate\nDeepBooru": "DeepBooru\n분석", + "Interrogate Options": "Interrogate Options", + "Interrogate: deepbooru score threshold": "Interrogate: deepbooru score threshold", + "Interrogate: deepbooru sort alphabetically": "Interrogate: deepbooru sort alphabetically", + "Interrogate: include ranks of model tags matches in results (Has no effect on caption-based interrogators).": "Interrogate: include ranks of model tags matches in results (Has no effect on caption-based interrogators).", + "Interrogate: keep models in VRAM": "Interrogate: keep models in VRAM", + "Interrogate: maximum description length": "Interrogate: maximum description length", + "Interrogate: minimum description length (excluding artists, etc..)": "Interrogate: minimum description length (excluding artists, etc..)", + "Interrogate: num_beams for BLIP": "Interrogate: num_beams for BLIP", + "Interrogate: use artists from artists.csv": "Interrogate: use artists from artists.csv", + "Interrupt": "중단", + "Just resize": "리사이징", + "Keep -1 for seeds": "시드값 -1로 유지", + "LDSR processing steps. Lower = faster": "LDSR processing steps. Lower = faster", + "LDSR": "LDSR", + "LMS Karras": "LMS Karras", + "LMS": "LMS", + "Label": "Label", + "Lanczos": "Lanczos", + "Learning rate": "Learning rate", + "Leave blank to save images to the default path.": "Leave blank to save images to the default path.", + "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.": "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.", + "Loading...": "로딩 중...", + "Localization (requires restart)": "Localization (requires restart)", + "Log directory": "Log directory", + "Loopback": "루프백", + "Loops": "루프 수", + "Make K-diffusion samplers produce same images in a batch as when making a single image": "Make K-diffusion samplers produce same images in a batch as when making a single image", + "Make Zip when Save?": "저장 시 Zip 생성하기", + "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "동일한 시드 값으로 생성되었을 이미지를 주어진 해상도로 최대한 유사하게 재현합니다.", + "Mask blur": "마스크 블러", + "Mask mode": "Mask mode", + "Mask": "마스크", + "Masked content": "마스크된 부분", + "Masking mode": "Masking mode", + "Max prompt words for [prompt_words] pattern": "Max prompt words for [prompt_words] pattern", + "Max steps": "Max steps", + "Modules": "Modules", + "Move face restoration model from VRAM into RAM after processing": "Move face restoration model from VRAM into RAM after processing", + "Multiplier (M) - set to 0 to get model A": "Multiplier (M) - set to 0 to get model A", + "Name": "Name", + "Negative prompt (press Ctrl+Enter or Alt+Enter to generate)": "네거티브 프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", + "Negative prompt": "네거티브 프롬프트", + "Next Page": "Next Page", + "None": "None", + "Nothing": "없음", + "Number of repeats for a single input image per epoch; used only for displaying epoch number": "Number of repeats for a single input image per epoch; used only for displaying epoch number", + "Number of vectors per token": "Number of vectors per token", + "Open images output directory": "이미지 저장 경로 열기", + "Open output directory": "Open output directory", + "Original negative prompt": "기존 네거티브 프롬프트", + "Original prompt": "기존 프롬프트", + "Outpainting direction": "아웃페인팅 방향", + "Outpainting mk2": "아웃페인팅 마크 2", + "Output directory for grids; if empty, defaults to two directories below": "Output directory for grids; if empty, defaults to two directories below", + "Output directory for images from extras tab": "Output directory for images from extras tab", + "Output directory for images; if empty, defaults to three directories below": "Output directory for images; if empty, defaults to three directories below", + "Output directory for img2img grids": "Output directory for img2img grids", + "Output directory for img2img images": "Output directory for img2img images", + "Output directory for txt2img grids": "Output directory for txt2img grids", + "Output directory for txt2img images": "Output directory for txt2img images", + "Output directory": "이미지 저장 경로", + "Override `Denoising strength` to 1?": "디노이즈 강도를 1로 적용할까요?", + "Override `Sampling Steps` to the same value as `Decode steps`?": "샘플링 스텝 수를 디코딩 스텝 수와 동일하게 적용할까요?", + "Override `Sampling method` to Euler?(this method is built for it)": "샘플링 방법을 Euler로 적용할까요?(이 기능은 해당 샘플러를 위해 만들어져 있습니다)", + "Override `prompt` to the same value as `original prompt`?(and `negative prompt`)": "프롬프트 값을 기존 프롬프트와 동일하게 적용할까요?(네거티브 프롬프트 포함)", + "PLMS": "PLMS", + "PNG Info": "PNG 정보", + "Page Index": "Page Index", + "Path to directory where to write outputs": "Path to directory where to write outputs", + "Path to directory with input images": "Path to directory with input images", + "Paths for saving": "Paths for saving", + "Pixels to expand": "확장할 픽셀 수", + "Poor man's outpainting": "가난뱅이의 아웃페인팅", + "Preprocess images": "Preprocess images", + "Preprocess": "Preprocess", + "Prev Page": "Prev Page", + "Prevent empty spots in grid (when set to autodetect)": "Prevent empty spots in grid (when set to autodetect)", + "Primary model (A)": "Primary model (A)", + "Process an image, use it as an input, repeat.": "이미지를 생성하고, 생성한 이미지를 다시 원본으로 사용하는 과정을 반복합니다.", + "Process images in a directory on the same machine where the server is running.": "WebUI 서버가 돌아가고 있는 디바이스에 존재하는 디렉토리의 이미지들을 처리합니다.", + "Produce an image that can be tiled.": "타일링 가능한 이미지를 생성합니다.", + "Prompt (press Ctrl+Enter or Alt+Enter to generate)": "프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", + "Prompt S/R": "프롬프트 스타일 변경", + "Prompt matrix": "프롬프트 매트릭스", + "Prompt order": "프롬프트 순서", + "Prompt template file": "Prompt template file", + "Prompt": "프롬프트", + "Prompts from file or textbox": "파일이나 텍스트박스로부터 프롬프트 불러오기", + "Prompts": "프롬프트", + "Put variable parts at start of prompt": "변경되는 프롬프트를 앞에 위치시키기", + "Quality for saved jpeg images": "Quality for saved jpeg images", + "Quicksettings list": "Quicksettings list", + "R-ESRGAN 4x+ Anime6B": "R-ESRGAN 4x+ Anime6B", + "Randomness": "랜덤성", + "Read generation parameters from prompt or last generation if prompt is empty into user interface.": "클립보드에 복사된 정보로부터 설정값 읽어오기/프롬프트창이 비어있을경우 제일 최근 설정값 불러오기", + "Read parameters (prompt, etc...) from txt2img tab when making previews": "Read parameters (prompt, etc...) from txt2img tab when making previews", + "Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8": "추천 설정값 - 샘플링 스텝 수 : 80-100 , 샘플러 : Euler a, 디노이즈 강도 : 0.8", + "Reload custom script bodies (No ui updates, No restart)": "Reload custom script bodies (No ui updates, No restart)", + "Renew Page": "Renew Page", + "Request browser notifications": "Request browser notifications", + "Resize and fill": "리사이징 후 채우기", + "Resize image to target resolution. Unless height and width match, you will get incorrect aspect ratio.": "설정된 해상도로 이미지 리사이징을 진행합니다. 원본과 가로/세로 길이가 일치하지 않을 경우, 부정확한 화면비의 이미지를 얻게 됩니다.", + "Resize mode": "Resize mode", "Resize seed from height": "시드 리사이징 가로길이", "Resize seed from width": "시드 리사이징 세로길이", - "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "동일한 시드 값으로 생성되었을 이미지를 주어진 해상도로 최대한 유사하게 재현합니다.", - "Script": "스크립트", + "Resize the image so that entirety of image is inside target resolution. Fill empty space with image's colors.": "이미지 전체가 설정된 해상도 내부에 들어가게 리사이징을 진행합니다. 빈 공간은 이미지의 색상으로 채웁니다.", + "Resize the image so that entirety of target resolution is filled with the image. Crop parts that stick out.": "설정된 해상도 전체가 이미지로 가득차게 리사이징을 진행합니다. 튀어나오는 부분은 잘라냅니다.", + "Resize": "Resize", + "Restart Gradio and Refresh components (Custom Scripts, ui.py, js and css only)": "Restart Gradio and Refresh components (Custom Scripts, ui.py, js and css only)", + "Restore faces": "얼굴 보정", + "Restore low quality faces using GFPGAN neural network": "GFPGAN 신경망을 이용해 저품질의 얼굴을 보정합니다.", + "Result = A * (1 - M) + B * M": "Result = A * (1 - M) + B * M", + "Result = A + (B - C) * M": "Result = A + (B - C) * M", + "Reuse seed from last generation, mostly useful if it was randomed": "이전 생성에서 사용된 시드를 불러옵니다. 랜덤하게 생성했을 시 도움됨", + "Run": "Run", + "SD upscale": "SD 업스케일링", + "Sampler parameters": "Sampler parameters", + "Sampler": "샘플러", + "Sampling Steps": "샘플링 스텝 수", + "Sampling method": "샘플링 방법", + "Save a copy of embedding to log directory every N steps, 0 to disable": "Save a copy of embedding to log directory every N steps, 0 to disable", + "Save a copy of image before applying color correction to img2img results": "Save a copy of image before applying color correction to img2img results", + "Save a copy of image before doing face restoration.": "Save a copy of image before doing face restoration.", + "Save an csv containing the loss to log directory every N steps, 0 to disable": "Save an csv containing the loss to log directory every N steps, 0 to disable", + "Save an image to log directory every N steps, 0 to disable": "Save an image to log directory every N steps, 0 to disable", + "Save as float16": "Save as float16", + "Save grids to a subdirectory": "Save grids to a subdirectory", + "Save images to a subdirectory": "Save images to a subdirectory", + "Save images with embedding in PNG chunks": "Save images with embedding in PNG chunks", + "Save style": "스타일 저장", + "Save text information about generation parameters as chunks to png files": "Save text information about generation parameters as chunks to png files", "Save": "저장", - "Write image to a directory (default - log/images) and generation parameters into csv file.": "이미지를 경로에 저장하고, 설정값들을 csv 파일로 저장합니다. (기본 경로 - log/images)", + "Saving images/grids": "Saving images/grids", + "Saving to a directory": "Saving to a directory", + "Scale by": "Scale by", + "Scale to": "Scale to", + "Script": "스크립트", + "ScuNET GAN": "ScuNET GAN", + "ScuNET PSNR": "ScuNET PSNR", + "Secondary model (B)": "Secondary model (B)", + "See": "See", + "Seed of a different picture to be mixed into the generation.": "결과물에 섞일 다른 그림의 시드", + "Seed": "시드", + "Send to extras": "부가기능으로 전송", "Send to img2img": "이미지→이미지로 전송", "Send to inpaint": "인페인트로 전송", - "Send to extras": "부가기능으로 전송", - "Open images output directory": "이미지 저장 경로 열기", - "Make Zip when Save?": "저장 시 Zip 생성하기", - "Prompt matrix": "프롬프트 매트릭스", + "Send to txt2img": "텍스트→이미지로 전송", "Separate prompts into parts using vertical pipe character (|) and the script will create a picture for every combination of them (except for the first part, which will be present in all combinations)": "(|)를 이용해 프롬프트를 분리할 시 첫 프롬프트를 제외하고 모든 프롬프트의 조합마다 이미지를 생성합니다. 첫 프롬프트는 모든 조합에 포함되게 됩니다.", - "Put variable parts at start of prompt": "변경되는 프롬프트를 앞에 위치시키기", - "Prompts from file or textbox": "파일이나 텍스트박스로부터 프롬프트 불러오기", - "Show Textbox": "텍스트박스 보이기", - "File with inputs": "설정값 파일", - "Prompts": "프롬프트", - "X/Y plot": "X/Y 플롯", - "Create a grid where images will have different parameters. Use inputs below to specify which parameters will be shared by columns and rows": "서로 다른 설정값으로 생성된 이미지의 그리드를 만듭니다. 아래의 설정으로 가로/세로에 어떤 설정값을 적용할지 선택하세요.", - "X type": "X축", - "Y type": "Y축", - "X values": "X 설정값", - "Y values": "Y 설정값", "Separate values for X axis using commas.": "쉼표로 X축에 적용할 값 분리", "Separate values for Y axis using commas.": "쉼표로 Y축에 적용할 값 분리", - "Draw legend": "범례 그리기", - "Include Separate Images": "분리된 이미지 포함하기", - "Keep -1 for seeds": "시드값 -1로 유지", + "Set seed to -1, which will cause a new random number to be used every time": "시드를 -1로 적용 - 매번 랜덤한 시드가 적용되게 됩니다.", + "Settings": "설정", + "Show Textbox": "텍스트박스 보이기", + "Show generation progress in window title.": "Show generation progress in window title.", + "Show grid in results for web": "Show grid in results for web", + "Show image creation progress every N sampling steps. Set 0 to disable.": "Show image creation progress every N sampling steps. Set 0 to disable.", + "Show images zoomed in by default in full page image viewer": "Show images zoomed in by default in full page image viewer", + "Show progressbar": "Show progressbar", + "Show result images": "Show result images", + "Sigma Churn": "시그마 섞기", + "Sigma adjustment for finding noise for image": "이미지 노이즈를 찾기 위해 시그마 조정", + "Sigma max": "시그마 최댓값", + "Sigma min": "시그마 최솟값", + "Sigma noise": "시그마 노이즈", + "Single Image": "Single Image", + "Skip": "건너뛰기", + "Source directory": "Source directory", + "Source": "Source", + "Split oversized images into two": "Split oversized images into two", + "Stable Diffusion checkpoint": "Stable Diffusion 체크포인트", + "Stable Diffusion": "Stable Diffusion", + "Steps": "스텝 수", + "Stop At last layers of CLIP model": "CLIP 모델의 n번째 레이어에서 멈추기", + "Stop processing current image and continue processing.": "현재 진행중인 이미지 생성을 중단하고 작업을 계속하기", + "Stop processing images and return any results accumulated so far.": "이미지 생성을 중단하고 지금까지 진행된 결과물 출력", + "Style 1": "스타일 1", + "Style 2": "스타일 2", + "Style to apply; styles have components for both positive and negative prompts and apply to both": "Style to apply; styles have components for both positive and negative prompts and apply to both", + "SwinIR 4x": "SwinIR 4x", + "System": "System", + "Tertiary model (C)": "Tertiary model (C)", + "Textbox": "Textbox", + "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.": "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.", + "This string will be used to join split words into a single line if the option above is enabled.": "This string will be used to join split words into a single line if the option above is enabled.", + "Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.": "Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.", + "Tile overlap, in pixels for SwinIR. Low values = visible seam.": "Tile overlap, in pixels for SwinIR. Low values = visible seam.", + "Tile overlap": "타일 겹침", + "Tile size for ESRGAN upscalers. 0 = no tiling.": "Tile size for ESRGAN upscalers. 0 = no tiling.", + "Tile size for all SwinIR.": "Tile size for all SwinIR.", + "Tiling": "타일링", + "Train Embedding": "Train Embedding", + "Train Hypernetwork": "Train Hypernetwork", + "Train an embedding; must specify a directory with a set of 1:1 ratio images": "Train an embedding; must specify a directory with a set of 1:1 ratio images", + "Train": "훈련", + "Training": "Training", + "Unload VAE and CLIP from VRAM when training": "Unload VAE and CLIP from VRAM when training", + "Upload mask": "마스크 업로드하기", + "Upscale latent space image when doing hires. fix": "Upscale latent space image when doing hires. fix", + "Upscale masked region to target resolution, do inpainting, downscale back and paste into original image": "마스크된 부분을 설정된 해상도로 업스케일하고, 인페인팅을 진행한 뒤, 다시 다운스케일 후 원본 이미지에 붙여넣습니다.", + "Upscaler 2 visibility": "Upscaler 2 visibility", + "Upscaler for img2img": "Upscaler for img2img", + "Upscaler": "업스케일러", + "Upscaling": "Upscaling", + "Use BLIP for caption": "Use BLIP for caption", + "Use a two step process to partially create an image at smaller resolution, upscale, and then improve details in it without changing composition": "저해상도 이미지를 1차적으로 생성 후 업스케일을 진행하여, 이미지의 전체적인 구성을 바꾸지 않고 세부적인 디테일을 향상시킵니다.", + "Use an empty output directory to save pictures normally instead of writing to the output directory.": "저장 경로를 비워두면 기본 저장 폴더에 이미지들이 저장됩니다.", + "Use deepbooru for caption": "Use deepbooru for caption", + "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.", + "Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.", + "Use old emphasis implementation. Can be useful to reproduce old seeds.": "Use old emphasis implementation. Can be useful to reproduce old seeds.", + "Use original name for output filename during batch process in extras tab": "Use original name for output filename during batch process in extras tab", + "User interface": "User interface", + "VRAM usage polls per second during generation. Set to 0 to disable.": "VRAM usage polls per second during generation. Set to 0 to disable.", "Var. seed": "바리에이션 시드", "Var. strength": "바리에이션 강도", - "Steps": "스텝 수", - "Prompt S/R": "프롬프트 스타일 변경", - "Prompt order": "프롬프트 순서", - "Sampler": "샘플러", - "Checkpoint name": "체크포인트 이름", - "Hypernet str.": "하이퍼네트워크 강도", - "Sigma Churn": "시그마 섞기", - "Sigma min": "시그마 최솟값", - "Sigma max": "시그마 최댓값", - "Sigma noise": "시그마 노이즈", - "Clip skip": "클립 건너뛰기", - "Denoising": "디노이징", - "Nothing": "없음", - "Apply settings": "설정 적용하기", - "Always save all generated images": "생성된 이미지 항상 저장하기" + "Variation seed": "바리에이션 시드", + "Variation strength": "바리에이션 강도", + "Weighted sum": "Weighted sum", + "What to put inside the masked area before processing it with Stable Diffusion.": "Stable Diffusion으로 이미지를 생성하기 전 마스크된 부분에 무엇을 채울지 결정하는 설정값", + "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.": "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.", + "When using \"Save\" button, save images to a subdirectory": "When using \"Save\" button, save images to a subdirectory", + "When using 'Save' button, only save a single selected image": "When using 'Save' button, only save a single selected image", + "Which algorithm to use to produce the image": "이미지를 생성할 때 사용할 알고리즘", + "Width": "가로", + "Will upscale the image to twice the dimensions; use width and height sliders to set tile size": "이미지를 설정된 사이즈의 2배로 업스케일합니다. 상단의 가로와 세로 슬라이더를 이용해 타일 사이즈를 지정하세요.", + "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising).": "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising).", + "Write image to a directory (default - log/images) and generation parameters into csv file.": "이미지를 경로에 저장하고, 설정값들을 csv 파일로 저장합니다. (기본 경로 - log/images)", + "X type": "X축", + "X values": "X 설정값", + "X/Y plot": "X/Y 플롯", + "Y type": "Y축", + "Y values": "Y 설정값", + "api": "", + "built with gradio": "gradio로 제작되었습니다", + "checkpoint": "checkpoint", + "directory.": "directory.", + "down": "아래쪽", + "escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)": "escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)", + "eta (noise multiplier) for DDIM": "eta (noise multiplier) for DDIM", + "eta (noise multiplier) for ancestral samplers": "eta (noise multiplier) for ancestral samplers", + "extras history": "extras history", + "fill it with colors of the image": "이미지의 색상으로 채우기", + "fill it with latent space noise": "잠재 공간 노이즈로 채우기", + "fill it with latent space zeroes": "잠재 공간의 0값으로 채우기", + "fill": "채우기", + "for detailed explanation.": "for detailed explanation.", + "hide": "api 숨기기", + "how fast should the training go. Low values will take longer to train, high values may fail to converge (not generate accurate results) and/or may break the embedding (This has happened if you see Loss: nan in the training info textbox. If this happens, you need to manually restore your embedding from an older not-broken backup).\n\nYou can set a single numeric value, or multiple learning rates using the syntax:\n\n rate_1:max_steps_1, rate_2:max_steps_2, ...\n\nEG: 0.005:100, 1e-3:1000, 1e-5\n\nWill train with rate of 0.005 for first 100 steps, then 1e-3 until 1000 steps, then 1e-5 for all remaining steps.": "how fast should the training go. Low values will take longer to train, high values may fail to converge (not generate accurate results) and/or may break the embedding (This has happened if you see Loss: nan in the training info textbox. If this happens, you need to manually restore your embedding from an older not-broken backup).\n\nYou can set a single numeric value, or multiple learning rates using the syntax:\n\n rate_1:max_steps_1, rate_2:max_steps_2, ...\n\nEG: 0.005:100, 1e-3:1000, 1e-5\n\nWill train with rate of 0.005 for first 100 steps, then 1e-3 until 1000 steps, then 1e-5 for all remaining steps.", + "img2img DDIM discretize": "img2img DDIM discretize", + "img2img alternative test": "이미지→이미지 대체버전 테스트", + "img2img history": "img2img history", + "img2img": "이미지→이미지", + "keep whatever was there originally": "이미지 원본 유지", + "latent noise": "잠재 노이즈", + "latent nothing": "잠재 공백", + "left": "왼쪽", + "number of images to delete consecutively next": "number of images to delete consecutively next", + "or": "or", + "original": "원본 유지", + "quad": "quad", + "right": "오른쪽", + "set_index": "set_index", + "should be 2 or lower.": "이 2 이하여야 합니다.", + "sigma churn": "sigma churn", + "sigma noise": "sigma noise", + "sigma tmin": "sigma tmin", + "txt2img history": "txt2img history", + "txt2img": "텍스트→이미지", + "uniform": "uniform", + "up": "위쪽", + "use spaces for tags in deepbooru": "use spaces for tags in deepbooru", + "view": "api 보이기", + "wiki": "wiki" } \ No newline at end of file From 6cfe23a6f183be58746feb7d7d58f83e877ed630 Mon Sep 17 00:00:00 2001 From: Dynamic Date: Sun, 23 Oct 2022 22:37:40 +0900 Subject: [PATCH 21/52] Rename ko-KR.json to ko_KR.json --- localizations/{ko-KR.json => ko_KR.json} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename localizations/{ko-KR.json => ko_KR.json} (98%) diff --git a/localizations/ko-KR.json b/localizations/ko_KR.json similarity index 98% rename from localizations/ko-KR.json rename to localizations/ko_KR.json index 7cc431c6..f665042e 100644 --- a/localizations/ko-KR.json +++ b/localizations/ko_KR.json @@ -419,4 +419,4 @@ "use spaces for tags in deepbooru": "use spaces for tags in deepbooru", "view": "api 보이기", "wiki": "wiki" -} \ No newline at end of file +} From 016712fc4cd523fb18123eed4281245f0dcc5bc3 Mon Sep 17 00:00:00 2001 From: Dynamic Date: Sun, 23 Oct 2022 22:38:49 +0900 Subject: [PATCH 22/52] Update ko_KR.json Updated translation for everything except the Settings tab --- localizations/ko_KR.json | 381 ++++++++++++++++++++++----------------- 1 file changed, 219 insertions(+), 162 deletions(-) diff --git a/localizations/ko_KR.json b/localizations/ko_KR.json index f665042e..a48ece87 100644 --- a/localizations/ko_KR.json +++ b/localizations/ko_KR.json @@ -5,118 +5,158 @@ "❮": "❮", "❯": "❯", "⤡": "⤡", + " images in this directory. Loaded ": "개의 이미지가 이 경로에 존재합니다. ", + " images during ": "개의 이미지를 불러왔고, 생성 기간은 ", + ", divided into ": "입니다. ", + " pages": "페이지로 나뉘어 표시합니다.", "1st and last digit must be 1. ex:'1, 2, 1'": "1st and last digit must be 1. ex:'1, 2, 1'", - "A directory on the same machine where the server is running.": "A directory on the same machine where the server is running.", - "A merger of the two checkpoints will be generated in your": "A merger of the two checkpoints will be generated in your", + "[wiki]": " [위키] 참조", + "A directory on the same machine where the server is running.": "WebUI 서버가 돌아가고 있는 디바이스에 존재하는 디렉토리를 선택해 주세요.", + "A merger of the two checkpoints will be generated in your": "체크포인트들이 병합된 결과물이 당신의", "A value that determines the output of random number generator - if you create an image with same parameters and seed as another image, you'll get the same result": "난수 생성기의 결과물을 지정하는 값 - 동일한 설정값과 동일한 시드를 적용 시, 완전히 똑같은 결과물을 얻게 됩니다.", "Add a random artist to the prompt.": "프롬프트에 랜덤한 작가 추가", "Add a second progress bar to the console that shows progress for an entire job.": "Add a second progress bar to the console that shows progress for an entire job.", - "Add difference": "Add difference", + "Add difference": "차이점 추가", "Add extended info (seed, prompt) to filename when saving grid": "Add extended info (seed, prompt) to filename when saving grid", - "Add layer normalization": "Add layer normalization", + "Add layer normalization": "레이어 정규화(normalization) 추가", "Add model hash to generation information": "Add model hash to generation information", "Add model name to generation information": "Add model name to generation information", + "Aesthetic imgs embedding": "스타일 이미지 임베딩", + "Aesthetic learning rate": "스타일 학습 수", + "Aesthetic steps": "스타일 스텝 수", + "Aesthetic text for imgs": "스타일 텍스트", + "Aesthetic weight": "스타일 가중치", "Always print all generation info to standard output": "Always print all generation info to standard output", "Always save all generated image grids": "Always save all generated image grids", "Always save all generated images": "생성된 이미지 항상 저장하기", + "api": "", + "append": "뒤에 삽입", "Apply color correction to img2img results to match original colors.": "Apply color correction to img2img results to match original colors.", "Apply selected styles to current prompt": "현재 프롬프트에 선택된 스타일 적용", "Apply settings": "설정 적용하기", - "BSRGAN 4x": "BSRGAN 4x", - "Batch Process": "Batch Process", "Batch count": "배치 수", - "Batch from Directory": "Batch from Directory", + "Batch from Directory": "저장 경로로부터 여러장 처리", "Batch img2img": "이미지→이미지 배치", + "Batch Process": "이미지 여러장 처리", "Batch size": "배치 크기", - "CFG Scale": "CFG 스케일", - "CLIP: maximum number of lines in text file (0 = No limit)": "CLIP: maximum number of lines in text file (0 = No limit)", + "BSRGAN 4x": "BSRGAN 4x", + "built with gradio": "gradio로 제작되었습니다", "Cancel generate forever": "반복 생성 취소", - "Check progress (first)": "Check progress (first)", + "CFG Scale": "CFG 스케일", "Check progress": "Check progress", + "Check progress (first)": "Check progress (first)", + "checkpoint": " 체크포인트 ", "Checkpoint Merger": "체크포인트 병합", "Checkpoint name": "체크포인트 이름", "Checkpoints to cache in RAM": "Checkpoints to cache in RAM", "Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results": "Classifier Free Guidance Scale - 이미지가 주어진 프롬프트를 얼마나 따를지를 정해주는 수치 - 낮은 값일수록 더 창의적인 결과물이 나옴", + "Click to Upload": "Click to Upload", "Clip skip": "클립 건너뛰기", - "CodeFormer visibility": "CodeFormer visibility", - "CodeFormer weight (0 = maximum effect, 1 = minimum effect)": "CodeFormer weight (0 = maximum effect, 1 = minimum effect)", + "CLIP: maximum number of lines in text file (0 = No limit)": "CLIP: maximum number of lines in text file (0 = No limit)", + "CodeFormer visibility": "CodeFormer 가시성", + "CodeFormer weight (0 = maximum effect, 1 = minimum effect)": "CodeFormer 가중치 (0 = 최대 효과, 1 = 최소 효과)", "CodeFormer weight parameter; 0 = maximum effect; 1 = minimum effect": "CodeFormer weight parameter; 0 = maximum effect; 1 = minimum effect", "Color variation": "색깔 다양성", + "Collect": "즐겨찾기", + "copy": "복사", "Create a grid where images will have different parameters. Use inputs below to specify which parameters will be shared by columns and rows": "서로 다른 설정값으로 생성된 이미지의 그리드를 만듭니다. 아래의 설정으로 가로/세로에 어떤 설정값을 적용할지 선택하세요.", "Create a text file next to every image with generation parameters.": "Create a text file next to every image with generation parameters.", - "Create embedding": "Create embedding", - "Create flipped copies": "Create flipped copies", - "Create hypernetwork": "Create hypernetwork", + "Create aesthetic images embedding": "Create aesthetic images embedding", + "Create embedding": "임베딩 생성", + "Create flipped copies": "좌우로 뒤집은 복사본 생성", + "Create hypernetwork": "하이퍼네트워크 생성", + "Create images embedding": "Create images embedding", "Crop and resize": "잘라낸 후 리사이징", - "Crop to fit": "Crop to fit", - "Custom Name (Optional)": "Custom Name (Optional)", + "Crop to fit": "잘라내서 맞추기", + "Custom Name (Optional)": "병합 모델 이름 (선택사항)", + "Dataset directory": "데이터셋 경로", "DDIM": "DDIM", - "DPM adaptive": "DPM adaptive", - "DPM fast": "DPM fast", - "DPM2 Karras": "DPM2 Karras", - "DPM2 a Karras": "DPM2 a Karras", - "DPM2 a": "DPM2 a", - "DPM2": "DPM2", - "Dataset directory": "Dataset directory", "Decode CFG scale": "디코딩 CFG 스케일", "Decode steps": "디코딩 스텝 수", - "Delete": "Delete", - "Denoising Diffusion Implicit Models - best at inpainting": "Denoising Diffusion Implicit Models - 인페이팅에 뛰어남", - "Denoising strength change factor": "디노이즈 강도 변경 배수", - "Denoising strength": "디노이즈 강도", + "Delete": "삭제", "Denoising": "디노이징", - "Destination directory": "Destination directory", + "Denoising Diffusion Implicit Models - best at inpainting": "Denoising Diffusion Implicit Models - 인페이팅에 뛰어남", + "Denoising strength": "디노이즈 강도", + "Denoising strength change factor": "디노이즈 강도 변경 배수", + "Destination directory": "결과물 저장 경로", "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. With values below 1.0, processing will take less steps than the Sampling Steps slider specifies.": "알고리즘이 얼마나 원본 이미지를 반영할지를 결정하는 수치입니다. 0일 경우 아무것도 바뀌지 않고, 1일 경우 원본 이미지와 전혀 관련없는 결과물을 얻게 됩니다. 1.0 아래의 값일 경우, 설정된 샘플링 스텝 수보다 적은 스텝 수를 거치게 됩니다.", "Directory for saving images using the Save button": "Directory for saving images using the Save button", "Directory name pattern": "Directory name pattern", + "directory.": "저장 경로에 저장됩니다.", "Do not add watermark to images": "Do not add watermark to images", "Do not do anything special": "아무것도 하지 않기", "Do not save grids consisting of one picture": "Do not save grids consisting of one picture", "Do not show any images in results for web": "Do not show any images in results for web", + "down": "아래쪽", "Download localization template": "Download localization template", + "Download": "다운로드", + "DPM adaptive": "DPM adaptive", + "DPM fast": "DPM fast", + "DPM2": "DPM2", + "DPM2 a": "DPM2 a", + "DPM2 a Karras": "DPM2 a Karras", + "DPM2 Karras": "DPM2 Karras", "Draw legend": "범례 그리기", "Draw mask": "마스크 직접 그리기", "Drop File Here": "Drop File Here", "Drop Image Here": "Drop Image Here", - "ESRGAN_4x": "ESRGAN_4x", - "Embedding": "Embedding", + "Embedding": "임베딩", + "Embedding Learning rate": "임베딩 학습률", "Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention": "Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention", "Enable full page image viewer": "Enable full page image viewer", "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.": "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.", - "End Page": "End Page", - "Enter hypernetwork layer structure": "Enter hypernetwork layer structure", - "Eta noise seed delta": "Eta noise seed delta", + "End Page": "마지막 페이지", + "Enter hypernetwork layer structure": "하이퍼네트워크 레이어 구조 입력", + "Error": "오류", + "escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)": "escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)", + "ESRGAN_4x": "ESRGAN_4x", "Eta": "Eta", - "Euler Ancestral - very creative, each can get a completely different picture depending on step count, setting steps to higher than 30-40 does not help": "Euler Ancestral - 매우 창의적, 스텝 수에 따라 완전히 다른 결과물이 나올 수 있음. 30~40보다 높은 스텝 수는 효과가 미미함", - "Euler a": "Euler a", + "eta (noise multiplier) for ancestral samplers": "eta (noise multiplier) for ancestral samplers", + "eta (noise multiplier) for DDIM": "eta (noise multiplier) for DDIM", + "Eta noise seed delta": "Eta noise seed delta", "Euler": "Euler", + "Euler a": "Euler a", + "Euler Ancestral - very creative, each can get a completely different picture depending on step count, setting steps to higher than 30-40 does not help": "Euler Ancestral - 매우 창의적, 스텝 수에 따라 완전히 다른 결과물이 나올 수 있음. 30~40보다 높은 스텝 수는 효과가 미미함", + "Existing Caption txt Action": "이미 존재하는 캡션 텍스트 처리", "Extra": "고급", "Extras": "부가기능", + "extras history": "extras history", "Face restoration": "Face restoration", "Fall-off exponent (lower=higher detail)": "감쇠 지수 (낮을수록 디테일이 올라감)", - "File Name": "File Name", + "favorites": "즐겨찾기", + "File": "File", "File format for grids": "File format for grids", "File format for images": "File format for images", + "File Name": "파일 이름", "File with inputs": "설정값 파일", - "File": "File", "Filename join string": "Filename join string", "Filename word regex": "Filename word regex", + "fill": "채우기", + "fill it with colors of the image": "이미지의 색상으로 채우기", + "fill it with latent space noise": "잠재 공간 노이즈로 채우기", + "fill it with latent space zeroes": "잠재 공간의 0값으로 채우기", "Filter NSFW content": "Filter NSFW content", - "First Page": "First Page", + "First Page": "처음 페이지", "Firstpass height": "초기 세로길이", "Firstpass width": "초기 가로길이", "Font for image grids that have text": "Font for image grids that have text", + "for detailed explanation.": "를 참조하십시오.", "For SD upscale, how much overlap in pixels should there be between tiles. Tiles overlap so that when they are merged back into one picture, there is no clearly visible seam.": "SD 업스케일링에서 타일 간 몇 픽셀을 겹치게 할지 결정하는 설정값입니다. 타일들이 다시 한 이미지로 합쳐질 때, 눈에 띄는 이음매가 없도록 서로 겹치게 됩니다.", - "GFPGAN visibility": "GFPGAN visibility", - "Generate Info": "Generate Info", - "Generate forever": "반복 생성", "Generate": "생성", + "Generate forever": "반복 생성", + "Generate Info": "생성 정보", + "GFPGAN visibility": "GFPGAN 가시성", "Grid row count; use -1 for autodetect and 0 for it to be same as batch size": "Grid row count; use -1 for autodetect and 0 for it to be same as batch size", "Height": "세로", "Heun": "Heun", + "hide": "api 숨기기", "Hide samplers in user interface (requires restart)": "Hide samplers in user interface (requires restart)", "Highres. fix": "고해상도 보정", "History": "기록", + "Image Browser": "이미지 브라우저", + "Images directory": "이미지 경로", + "extras": "부가기능", + "how fast should the training go. Low values will take longer to train, high values may fail to converge (not generate accurate results) and/or may break the embedding (This has happened if you see Loss: nan in the training info textbox. If this happens, you need to manually restore your embedding from an older not-broken backup).\n\nYou can set a single numeric value, or multiple learning rates using the syntax:\n\n rate_1:max_steps_1, rate_2:max_steps_2, ...\n\nEG: 0.005:100, 1e-3:1000, 1e-5\n\nWill train with rate of 0.005 for first 100 steps, then 1e-3 until 1000 steps, then 1e-5 for all remaining steps.": "how fast should the training go. Low values will take longer to train, high values may fail to converge (not generate accurate results) and/or may break the embedding (This has happened if you see Loss: nan in the training info textbox. If this happens, you need to manually restore your embedding from an older not-broken backup).\n\nYou can set a single numeric value, or multiple learning rates using the syntax:\n\n rate_1:max_steps_1, rate_2:max_steps_2, ...\n\nEG: 0.005:100, 1e-3:1000, 1e-5\n\nWill train with rate of 0.005 for first 100 steps, then 1e-3 until 1000 steps, then 1e-5 for all remaining steps.", "How many batches of images to create": "생성할 이미지 배치 수", "How many image to create in a single batch": "한 배치당 이미지 수", "How many times to improve the generated image iteratively; higher values take longer; very low values can produce bad results": "생성된 이미지를 향상할 횟수; 매우 낮은 값은 만족스럽지 못한 결과물을 출력할 수 있음", @@ -124,26 +164,32 @@ "How much to blur the mask before processing, in pixels.": "이미지 생성 전 마스크를 얼마나 블러처리할지 결정하는 값. 픽셀 단위", "How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).": "바리에이션을 얼마나 줄지 정하는 수치 - 0일 경우 아무것도 바뀌지 않고, 1일 경우 바리에이션 시드로부터 생성된 이미지를 얻게 됩니다. (Ancestral 샘플러 제외 - 이 경우에는 좀 다른 무언가를 얻게 됩니다)", "Hypernet str.": "하이퍼네트워크 강도", - "Hypernetwork strength": "Hypernetwork strength", "Hypernetwork": "하이퍼네트워크", + "Hypernetwork Learning rate": "하이퍼네트워크 학습률", + "Hypernetwork strength": "Hypernetwork strength", "If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG": "If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG", "If this option is enabled, watermark will not be added to created images. Warning: if you do not add watermark, you may be behaving in an unethical manner.": "If this option is enabled, watermark will not be added to created images. Warning: if you do not add watermark, you may be behaving in an unethical manner.", "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.": "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.", + "ignore": "무시", + "Image": "Image", "Image for img2img": "Image for img2img", "Image for inpainting with mask": "Image for inpainting with mask", - "Image": "Image", "Images filename pattern": "Images filename pattern", + "img2img": "이미지→이미지", + "img2img alternative test": "이미지→이미지 대체버전 테스트", + "img2img DDIM discretize": "img2img DDIM discretize", + "img2img history": "img2img history", "In loopback mode, on each loop the denoising strength is multiplied by this value. <1 means decreasing variety so your sequence will converge on a fixed picture. >1 means increasing variety so your sequence will become more and more chaotic.": "루프백 모드에서는 매 루프마다 디노이즈 강도에 이 값이 곱해집니다. 1보다 작을 경우 다양성이 낮아져 결과 이미지들이 고정된 형태로 모일 겁니다. 1보다 클 경우 다양성이 높아져 결과 이미지들이 갈수록 혼란스러워지겠죠.", "Include Separate Images": "분리된 이미지 포함하기", "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens": "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens", - "Initialization text": "Initialization text", - "Inpaint at full resolution padding, pixels": "전체 해상도로 인페인트 패딩값(픽셀 단위)", + "Initialization text": "초기화 텍스트", + "Inpaint": "인페인트", "Inpaint at full resolution": "전체 해상도로 인페인트하기", + "Inpaint at full resolution padding, pixels": "전체 해상도로 인페인트 패딩값(픽셀 단위)", "Inpaint masked": "마스크만 처리", "Inpaint not masked": "마스크 이외만 처리", - "Inpaint": "인페인트", "Input directory": "인풋 이미지 경로", - "Interpolation Method": "Interpolation Method", + "Interpolation Method": "보간 방법", "Interrogate\nCLIP": "CLIP\n분석", "Interrogate\nDeepBooru": "DeepBooru\n분석", "Interrogate Options": "Interrogate Options", @@ -156,49 +202,68 @@ "Interrogate: num_beams for BLIP": "Interrogate: num_beams for BLIP", "Interrogate: use artists from artists.csv": "Interrogate: use artists from artists.csv", "Interrupt": "중단", + "Is negative text": "네거티브 텍스트일시 체크", "Just resize": "리사이징", "Keep -1 for seeds": "시드값 -1로 유지", - "LDSR processing steps. Lower = faster": "LDSR processing steps. Lower = faster", - "LDSR": "LDSR", - "LMS Karras": "LMS Karras", - "LMS": "LMS", + "keep whatever was there originally": "이미지 원본 유지", "Label": "Label", "Lanczos": "Lanczos", - "Learning rate": "Learning rate", - "Leave blank to save images to the default path.": "Leave blank to save images to the default path.", + "Last prompt:": "Last prompt:", + "Last saved hypernetwork:": "Last saved hypernetwork:", + "Last saved image:": "Last saved image:", + "latent noise": "잠재 노이즈", + "latent nothing": "잠재 공백", + "LDSR": "LDSR", + "LDSR processing steps. Lower = faster": "LDSR processing steps. Lower = faster", + "leakyrelu": "leakyrelu", + "Leave blank to save images to the default path.": "기존 저장 경로에 이미지들을 저장하려면 비워두세요.", + "left": "왼쪽", + "linear": "linear", "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.": "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.", + "LMS": "LMS", + "LMS Karras": "LMS Karras", + "Load": "불러오기", "Loading...": "로딩 중...", "Localization (requires restart)": "Localization (requires restart)", - "Log directory": "Log directory", + "Log directory": "로그 경로", "Loopback": "루프백", "Loops": "루프 수", + "Loss:": "Loss:", + "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "동일한 시드 값으로 생성되었을 이미지를 주어진 해상도로 최대한 유사하게 재현합니다.", "Make K-diffusion samplers produce same images in a batch as when making a single image": "Make K-diffusion samplers produce same images in a batch as when making a single image", "Make Zip when Save?": "저장 시 Zip 생성하기", - "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "동일한 시드 값으로 생성되었을 이미지를 주어진 해상도로 최대한 유사하게 재현합니다.", + "Mask": "마스크", "Mask blur": "마스크 블러", "Mask mode": "Mask mode", - "Mask": "마스크", "Masked content": "마스크된 부분", "Masking mode": "Masking mode", "Max prompt words for [prompt_words] pattern": "Max prompt words for [prompt_words] pattern", - "Max steps": "Max steps", - "Modules": "Modules", + "Max steps": "최대 스텝 수", + "Modules": "모듈", "Move face restoration model from VRAM into RAM after processing": "Move face restoration model from VRAM into RAM after processing", - "Multiplier (M) - set to 0 to get model A": "Multiplier (M) - set to 0 to get model A", - "Name": "Name", - "Negative prompt (press Ctrl+Enter or Alt+Enter to generate)": "네거티브 프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", + "Move VAE and CLIP to RAM when training hypernetwork. Saves VRAM.": "Move VAE and CLIP to RAM when training hypernetwork. Saves VRAM.", + "Multiplier (M) - set to 0 to get model A": "배율 (M) - 0으로 적용하면 모델 A를 얻게 됩니다", + "Name": "이름", "Negative prompt": "네거티브 프롬프트", - "Next Page": "Next Page", + "Negative prompt (press Ctrl+Enter or Alt+Enter to generate)": "네거티브 프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", + "Next batch": "다음 묶음", + "Next Page": "다음 페이지", "None": "None", "Nothing": "없음", + "Nothing found in the image.": "Nothing found in the image.", + "number of images to delete consecutively next": "연속적으로 삭제할 이미지 수", "Number of repeats for a single input image per epoch; used only for displaying epoch number": "Number of repeats for a single input image per epoch; used only for displaying epoch number", - "Number of vectors per token": "Number of vectors per token", + "Number of vectors per token": "토큰별 벡터 수", + "Open for Clip Aesthetic!": "클립 스타일 기능을 활성화하려면 클릭!", "Open images output directory": "이미지 저장 경로 열기", - "Open output directory": "Open output directory", + "Open output directory": "저장 경로 열기", + "or": "or", + "original": "원본 유지", "Original negative prompt": "기존 네거티브 프롬프트", "Original prompt": "기존 프롬프트", "Outpainting direction": "아웃페인팅 방향", "Outpainting mk2": "아웃페인팅 마크 2", + "Output directory": "이미지 저장 경로", "Output directory for grids; if empty, defaults to two directories below": "Output directory for grids; if empty, defaults to two directories below", "Output directory for images from extras tab": "Output directory for images from extras tab", "Output directory for images; if empty, defaults to three directories below": "Output directory for images; if empty, defaults to three directories below", @@ -206,46 +271,54 @@ "Output directory for img2img images": "Output directory for img2img images", "Output directory for txt2img grids": "Output directory for txt2img grids", "Output directory for txt2img images": "Output directory for txt2img images", - "Output directory": "이미지 저장 경로", "Override `Denoising strength` to 1?": "디노이즈 강도를 1로 적용할까요?", - "Override `Sampling Steps` to the same value as `Decode steps`?": "샘플링 스텝 수를 디코딩 스텝 수와 동일하게 적용할까요?", - "Override `Sampling method` to Euler?(this method is built for it)": "샘플링 방법을 Euler로 적용할까요?(이 기능은 해당 샘플러를 위해 만들어져 있습니다)", "Override `prompt` to the same value as `original prompt`?(and `negative prompt`)": "프롬프트 값을 기존 프롬프트와 동일하게 적용할까요?(네거티브 프롬프트 포함)", - "PLMS": "PLMS", - "PNG Info": "PNG 정보", - "Page Index": "Page Index", + "Override `Sampling method` to Euler?(this method is built for it)": "샘플링 방법을 Euler로 적용할까요?(이 기능은 해당 샘플러를 위해 만들어져 있습니다)", + "Override `Sampling Steps` to the same value as `Decode steps`?": "샘플링 스텝 수를 디코딩 스텝 수와 동일하게 적용할까요?", + "Overwrite Old Embedding": "기존 임베딩 덮어쓰기", + "Overwrite Old Hypernetwork": "기존 하이퍼네트워크 덮어쓰기", + "Page Index": "페이지 인덱스", + "parameters": "설정값", "Path to directory where to write outputs": "Path to directory where to write outputs", - "Path to directory with input images": "Path to directory with input images", + "Path to directory with input images": "인풋 이미지가 있는 경로", "Paths for saving": "Paths for saving", "Pixels to expand": "확장할 픽셀 수", + "PLMS": "PLMS", + "PNG Info": "PNG 정보", "Poor man's outpainting": "가난뱅이의 아웃페인팅", - "Preprocess images": "Preprocess images", - "Preprocess": "Preprocess", - "Prev Page": "Prev Page", + "Preparing dataset from": "Preparing dataset from", + "prepend": "앞에 삽입", + "Preprocess": "전처리", + "Preprocess images": "이미지 전처리", + "Prev batch": "이전 묶음", + "Prev Page": "이전 페이지", "Prevent empty spots in grid (when set to autodetect)": "Prevent empty spots in grid (when set to autodetect)", - "Primary model (A)": "Primary model (A)", + "Primary model (A)": "주 모델 (A)", "Process an image, use it as an input, repeat.": "이미지를 생성하고, 생성한 이미지를 다시 원본으로 사용하는 과정을 반복합니다.", "Process images in a directory on the same machine where the server is running.": "WebUI 서버가 돌아가고 있는 디바이스에 존재하는 디렉토리의 이미지들을 처리합니다.", "Produce an image that can be tiled.": "타일링 가능한 이미지를 생성합니다.", + "Prompt": "프롬프트", "Prompt (press Ctrl+Enter or Alt+Enter to generate)": "프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", - "Prompt S/R": "프롬프트 스타일 변경", "Prompt matrix": "프롬프트 매트릭스", "Prompt order": "프롬프트 순서", - "Prompt template file": "Prompt template file", - "Prompt": "프롬프트", - "Prompts from file or textbox": "파일이나 텍스트박스로부터 프롬프트 불러오기", + "Prompt S/R": "프롬프트 스타일 변경", + "Prompt template file": "프롬프트 템플릿 파일 경로", "Prompts": "프롬프트", + "Prompts from file or textbox": "파일이나 텍스트박스로부터 프롬프트 불러오기", "Put variable parts at start of prompt": "변경되는 프롬프트를 앞에 위치시키기", + "quad": "quad", "Quality for saved jpeg images": "Quality for saved jpeg images", "Quicksettings list": "Quicksettings list", "R-ESRGAN 4x+ Anime6B": "R-ESRGAN 4x+ Anime6B", "Randomness": "랜덤성", "Read generation parameters from prompt or last generation if prompt is empty into user interface.": "클립보드에 복사된 정보로부터 설정값 읽어오기/프롬프트창이 비어있을경우 제일 최근 설정값 불러오기", - "Read parameters (prompt, etc...) from txt2img tab when making previews": "Read parameters (prompt, etc...) from txt2img tab when making previews", + "Read parameters (prompt, etc...) from txt2img tab when making previews": "프리뷰 이미지 생성 시 텍스트→이미지 탭에서 설정값(프롬프트 등) 읽어오기", "Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8": "추천 설정값 - 샘플링 스텝 수 : 80-100 , 샘플러 : Euler a, 디노이즈 강도 : 0.8", "Reload custom script bodies (No ui updates, No restart)": "Reload custom script bodies (No ui updates, No restart)", + "relu": "relu", "Renew Page": "Renew Page", "Request browser notifications": "Request browser notifications", + "Resize": "리사이징 배수", "Resize and fill": "리사이징 후 채우기", "Resize image to target resolution. Unless height and width match, you will get incorrect aspect ratio.": "설정된 해상도로 이미지 리사이징을 진행합니다. 원본과 가로/세로 길이가 일치하지 않을 경우, 부정확한 화면비의 이미지를 얻게 됩니다.", "Resize mode": "Resize mode", @@ -253,42 +326,43 @@ "Resize seed from width": "시드 리사이징 세로길이", "Resize the image so that entirety of image is inside target resolution. Fill empty space with image's colors.": "이미지 전체가 설정된 해상도 내부에 들어가게 리사이징을 진행합니다. 빈 공간은 이미지의 색상으로 채웁니다.", "Resize the image so that entirety of target resolution is filled with the image. Crop parts that stick out.": "설정된 해상도 전체가 이미지로 가득차게 리사이징을 진행합니다. 튀어나오는 부분은 잘라냅니다.", - "Resize": "Resize", "Restart Gradio and Refresh components (Custom Scripts, ui.py, js and css only)": "Restart Gradio and Refresh components (Custom Scripts, ui.py, js and css only)", "Restore faces": "얼굴 보정", "Restore low quality faces using GFPGAN neural network": "GFPGAN 신경망을 이용해 저품질의 얼굴을 보정합니다.", - "Result = A * (1 - M) + B * M": "Result = A * (1 - M) + B * M", - "Result = A + (B - C) * M": "Result = A + (B - C) * M", + "Result = A * (1 - M) + B * M": "결과물 = A * (1 - M) + B * M", + "Result = A + (B - C) * M": "결과물 = A + (B - C) * M", "Reuse seed from last generation, mostly useful if it was randomed": "이전 생성에서 사용된 시드를 불러옵니다. 랜덤하게 생성했을 시 도움됨", - "Run": "Run", - "SD upscale": "SD 업스케일링", - "Sampler parameters": "Sampler parameters", + "right": "오른쪽", + "Run": "가동", "Sampler": "샘플러", - "Sampling Steps": "샘플링 스텝 수", + "Sampler parameters": "Sampler parameters", "Sampling method": "샘플링 방법", - "Save a copy of embedding to log directory every N steps, 0 to disable": "Save a copy of embedding to log directory every N steps, 0 to disable", + "Sampling Steps": "샘플링 스텝 수", + "Save": "저장", + "Save a copy of embedding to log directory every N steps, 0 to disable": "N스텝마다 로그 경로에 임베딩을 저장합니다, 비활성화하려면 0으로 설정하십시오.", "Save a copy of image before applying color correction to img2img results": "Save a copy of image before applying color correction to img2img results", "Save a copy of image before doing face restoration.": "Save a copy of image before doing face restoration.", "Save an csv containing the loss to log directory every N steps, 0 to disable": "Save an csv containing the loss to log directory every N steps, 0 to disable", - "Save an image to log directory every N steps, 0 to disable": "Save an image to log directory every N steps, 0 to disable", - "Save as float16": "Save as float16", + "Save an image to log directory every N steps, 0 to disable": "N스텝마다 로그 경로에 이미지를 저장합니다, 비활성화하려면 0으로 설정하십시오.", + "Save as float16": "float16으로 저장", "Save grids to a subdirectory": "Save grids to a subdirectory", "Save images to a subdirectory": "Save images to a subdirectory", - "Save images with embedding in PNG chunks": "Save images with embedding in PNG chunks", + "Save images with embedding in PNG chunks": "PNG 청크로 이미지에 임베딩을 포함시켜 저장", "Save style": "스타일 저장", "Save text information about generation parameters as chunks to png files": "Save text information about generation parameters as chunks to png files", - "Save": "저장", "Saving images/grids": "Saving images/grids", "Saving to a directory": "Saving to a directory", - "Scale by": "Scale by", - "Scale to": "Scale to", + "Scale by": "스케일링 배수 지정", + "Scale to": "스케일링 사이즈 지정", "Script": "스크립트", "ScuNET GAN": "ScuNET GAN", "ScuNET PSNR": "ScuNET PSNR", - "Secondary model (B)": "Secondary model (B)", - "See": "See", - "Seed of a different picture to be mixed into the generation.": "결과물에 섞일 다른 그림의 시드", + "SD upscale": "SD 업스케일링", + "Secondary model (B)": "2차 모델 (B)", + "See": "자세한 설명은", "Seed": "시드", + "Seed of a different picture to be mixed into the generation.": "결과물에 섞일 다른 그림의 시드", + "Select activation function of hypernetwork": "하이퍼네트워크 활성화 함수 선택", "Send to extras": "부가기능으로 전송", "Send to img2img": "이미지→이미지로 전송", "Send to inpaint": "인페인트로 전송", @@ -297,26 +371,36 @@ "Separate values for X axis using commas.": "쉼표로 X축에 적용할 값 분리", "Separate values for Y axis using commas.": "쉼표로 Y축에 적용할 값 분리", "Set seed to -1, which will cause a new random number to be used every time": "시드를 -1로 적용 - 매번 랜덤한 시드가 적용되게 됩니다.", + "set_index": "set_index", "Settings": "설정", - "Show Textbox": "텍스트박스 보이기", + "should be 2 or lower.": "이 2 이하여야 합니다.", "Show generation progress in window title.": "Show generation progress in window title.", "Show grid in results for web": "Show grid in results for web", "Show image creation progress every N sampling steps. Set 0 to disable.": "Show image creation progress every N sampling steps. Set 0 to disable.", "Show images zoomed in by default in full page image viewer": "Show images zoomed in by default in full page image viewer", "Show progressbar": "Show progressbar", - "Show result images": "Show result images", - "Sigma Churn": "시그마 섞기", + "Show result images": "이미지 결과 보이기", + "Show Textbox": "텍스트박스 보이기", "Sigma adjustment for finding noise for image": "이미지 노이즈를 찾기 위해 시그마 조정", + "Sigma Churn": "시그마 섞기", + "sigma churn": "sigma churn", "Sigma max": "시그마 최댓값", "Sigma min": "시그마 최솟값", "Sigma noise": "시그마 노이즈", - "Single Image": "Single Image", + "sigma noise": "sigma noise", + "sigma tmin": "sigma tmin", + "Single Image": "단일 이미지", "Skip": "건너뛰기", - "Source directory": "Source directory", - "Source": "Source", - "Split oversized images into two": "Split oversized images into two", - "Stable Diffusion checkpoint": "Stable Diffusion 체크포인트", + "Slerp angle": "구면 선형 보간 각도", + "Slerp interpolation": "구면 선형 보간", + "Source": "원본", + "Source directory": "원본 경로", + "Split image threshold": "Split image threshold", + "Split image overlap ratio": "Split image overlap ratio", + "Split oversized images": "사이즈가 큰 이미지 분할하기", "Stable Diffusion": "Stable Diffusion", + "Stable Diffusion checkpoint": "Stable Diffusion 체크포인트", + "Step:": "Step:", "Steps": "스텝 수", "Stop At last layers of CLIP model": "CLIP 모델의 n번째 레이어에서 멈추기", "Stop processing current image and continue processing.": "현재 진행중인 이미지 생성을 중단하고 작업을 계속하기", @@ -325,51 +409,65 @@ "Style 2": "스타일 2", "Style to apply; styles have components for both positive and negative prompts and apply to both": "Style to apply; styles have components for both positive and negative prompts and apply to both", "SwinIR 4x": "SwinIR 4x", + "Sys VRAM:": "시스템 VRAM : ", "System": "System", - "Tertiary model (C)": "Tertiary model (C)", + "Tertiary model (C)": "3차 모델 (C)", "Textbox": "Textbox", "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.": "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.", "This string will be used to join split words into a single line if the option above is enabled.": "This string will be used to join split words into a single line if the option above is enabled.", + "This text is used to rotate the feature space of the imgs embs": "이 텍스트는 이미지 임베딩의 특징 공간을 회전하는 데 사용됩니다.", + "Tile overlap": "타일 겹침", "Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.": "Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.", "Tile overlap, in pixels for SwinIR. Low values = visible seam.": "Tile overlap, in pixels for SwinIR. Low values = visible seam.", - "Tile overlap": "타일 겹침", - "Tile size for ESRGAN upscalers. 0 = no tiling.": "Tile size for ESRGAN upscalers. 0 = no tiling.", "Tile size for all SwinIR.": "Tile size for all SwinIR.", + "Tile size for ESRGAN upscalers. 0 = no tiling.": "Tile size for ESRGAN upscalers. 0 = no tiling.", "Tiling": "타일링", - "Train Embedding": "Train Embedding", - "Train Hypernetwork": "Train Hypernetwork", - "Train an embedding; must specify a directory with a set of 1:1 ratio images": "Train an embedding; must specify a directory with a set of 1:1 ratio images", + "Time taken:": "소요 시간 : ", + "Torch active/reserved:": "활성화/예약된 Torch 양 : ", + "Torch active: Peak amount of VRAM used by Torch during generation, excluding cached data.\nTorch reserved: Peak amount of VRAM allocated by Torch, including all active and cached data.\nSys VRAM: Peak amount of VRAM allocation across all applications / total GPU VRAM (peak utilization%).": "활성화된 Torch : 생성 도중 캐시된 데이터를 포함해 사용된 VRAM의 최대량\n예약된 Torch : 활성화되고 캐시된 모든 데이터를 포함해 Torch에게 할당된 VRAM의 최대량\n시스템 VRAM : 모든 어플리케이션에 할당된 VRAM 최대량 / 총 GPU VRAM (최고 이용도%)", "Train": "훈련", + "Train an embedding or Hypernetwork; you must specify a directory with a set of 1:1 ratio images": "임베딩이나 하이퍼네트워크를 훈련시킵니다. 1:1 비율의 이미지가 있는 경로를 지정해야 합니다.", + "Train Embedding": "임베딩 훈련", + "Train Hypernetwork": "하이퍼네트워크 훈련", "Training": "Training", - "Unload VAE and CLIP from VRAM when training": "Unload VAE and CLIP from VRAM when training", + "txt2img": "텍스트→이미지", + "txt2img history": "txt2img history", + "uniform": "uniform", + "up": "위쪽", "Upload mask": "마스크 업로드하기", "Upscale latent space image when doing hires. fix": "Upscale latent space image when doing hires. fix", "Upscale masked region to target resolution, do inpainting, downscale back and paste into original image": "마스크된 부분을 설정된 해상도로 업스케일하고, 인페인팅을 진행한 뒤, 다시 다운스케일 후 원본 이미지에 붙여넣습니다.", - "Upscaler 2 visibility": "Upscaler 2 visibility", - "Upscaler for img2img": "Upscaler for img2img", "Upscaler": "업스케일러", + "Upscaler 1": "업스케일러 1", + "Upscaler 2": "업스케일러 2", + "Upscaler 2 visibility": "업스케일러 2 가시성", + "Upscaler for img2img": "Upscaler for img2img", "Upscaling": "Upscaling", - "Use BLIP for caption": "Use BLIP for caption", "Use a two step process to partially create an image at smaller resolution, upscale, and then improve details in it without changing composition": "저해상도 이미지를 1차적으로 생성 후 업스케일을 진행하여, 이미지의 전체적인 구성을 바꾸지 않고 세부적인 디테일을 향상시킵니다.", "Use an empty output directory to save pictures normally instead of writing to the output directory.": "저장 경로를 비워두면 기본 저장 폴더에 이미지들이 저장됩니다.", - "Use deepbooru for caption": "Use deepbooru for caption", + "Use BLIP for caption": "캡션에 BLIP 사용", + "Use deepbooru for caption": "캡션에 deepbooru 사용", + "Use dropout": "드롭아웃 사용", "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.", "Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.", "Use old emphasis implementation. Can be useful to reproduce old seeds.": "Use old emphasis implementation. Can be useful to reproduce old seeds.", "Use original name for output filename during batch process in extras tab": "Use original name for output filename during batch process in extras tab", + "use spaces for tags in deepbooru": "use spaces for tags in deepbooru", "User interface": "User interface", - "VRAM usage polls per second during generation. Set to 0 to disable.": "VRAM usage polls per second during generation. Set to 0 to disable.", "Var. seed": "바리에이션 시드", "Var. strength": "바리에이션 강도", "Variation seed": "바리에이션 시드", "Variation strength": "바리에이션 강도", - "Weighted sum": "Weighted sum", + "view": "api 보이기", + "VRAM usage polls per second during generation. Set to 0 to disable.": "VRAM usage polls per second during generation. Set to 0 to disable.", + "Weighted sum": "가중 합", "What to put inside the masked area before processing it with Stable Diffusion.": "Stable Diffusion으로 이미지를 생성하기 전 마스크된 부분에 무엇을 채울지 결정하는 설정값", "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.": "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.", "When using \"Save\" button, save images to a subdirectory": "When using \"Save\" button, save images to a subdirectory", "When using 'Save' button, only save a single selected image": "When using 'Save' button, only save a single selected image", "Which algorithm to use to produce the image": "이미지를 생성할 때 사용할 알고리즘", "Width": "가로", + "wiki": " 위키", "Will upscale the image to twice the dimensions; use width and height sliders to set tile size": "이미지를 설정된 사이즈의 2배로 업스케일합니다. 상단의 가로와 세로 슬라이더를 이용해 타일 사이즈를 지정하세요.", "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising).": "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising).", "Write image to a directory (default - log/images) and generation parameters into csv file.": "이미지를 경로에 저장하고, 설정값들을 csv 파일로 저장합니다. (기본 경로 - log/images)", @@ -377,46 +475,5 @@ "X values": "X 설정값", "X/Y plot": "X/Y 플롯", "Y type": "Y축", - "Y values": "Y 설정값", - "api": "", - "built with gradio": "gradio로 제작되었습니다", - "checkpoint": "checkpoint", - "directory.": "directory.", - "down": "아래쪽", - "escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)": "escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)", - "eta (noise multiplier) for DDIM": "eta (noise multiplier) for DDIM", - "eta (noise multiplier) for ancestral samplers": "eta (noise multiplier) for ancestral samplers", - "extras history": "extras history", - "fill it with colors of the image": "이미지의 색상으로 채우기", - "fill it with latent space noise": "잠재 공간 노이즈로 채우기", - "fill it with latent space zeroes": "잠재 공간의 0값으로 채우기", - "fill": "채우기", - "for detailed explanation.": "for detailed explanation.", - "hide": "api 숨기기", - "how fast should the training go. Low values will take longer to train, high values may fail to converge (not generate accurate results) and/or may break the embedding (This has happened if you see Loss: nan in the training info textbox. If this happens, you need to manually restore your embedding from an older not-broken backup).\n\nYou can set a single numeric value, or multiple learning rates using the syntax:\n\n rate_1:max_steps_1, rate_2:max_steps_2, ...\n\nEG: 0.005:100, 1e-3:1000, 1e-5\n\nWill train with rate of 0.005 for first 100 steps, then 1e-3 until 1000 steps, then 1e-5 for all remaining steps.": "how fast should the training go. Low values will take longer to train, high values may fail to converge (not generate accurate results) and/or may break the embedding (This has happened if you see Loss: nan in the training info textbox. If this happens, you need to manually restore your embedding from an older not-broken backup).\n\nYou can set a single numeric value, or multiple learning rates using the syntax:\n\n rate_1:max_steps_1, rate_2:max_steps_2, ...\n\nEG: 0.005:100, 1e-3:1000, 1e-5\n\nWill train with rate of 0.005 for first 100 steps, then 1e-3 until 1000 steps, then 1e-5 for all remaining steps.", - "img2img DDIM discretize": "img2img DDIM discretize", - "img2img alternative test": "이미지→이미지 대체버전 테스트", - "img2img history": "img2img history", - "img2img": "이미지→이미지", - "keep whatever was there originally": "이미지 원본 유지", - "latent noise": "잠재 노이즈", - "latent nothing": "잠재 공백", - "left": "왼쪽", - "number of images to delete consecutively next": "number of images to delete consecutively next", - "or": "or", - "original": "원본 유지", - "quad": "quad", - "right": "오른쪽", - "set_index": "set_index", - "should be 2 or lower.": "이 2 이하여야 합니다.", - "sigma churn": "sigma churn", - "sigma noise": "sigma noise", - "sigma tmin": "sigma tmin", - "txt2img history": "txt2img history", - "txt2img": "텍스트→이미지", - "uniform": "uniform", - "up": "위쪽", - "use spaces for tags in deepbooru": "use spaces for tags in deepbooru", - "view": "api 보이기", - "wiki": "wiki" -} + "Y values": "Y 설정값" +} \ No newline at end of file From ae7c830c3ae7bb1ebe9b0d935cb33c254354b649 Mon Sep 17 00:00:00 2001 From: Dynamic Date: Mon, 24 Oct 2022 04:29:19 +0900 Subject: [PATCH 23/52] Translation complete --- localizations/ko_KR.json | 302 +++++++++++++++++++++------------------ 1 file changed, 160 insertions(+), 142 deletions(-) diff --git a/localizations/ko_KR.json b/localizations/ko_KR.json index a48ece87..6889de46 100644 --- a/localizations/ko_KR.json +++ b/localizations/ko_KR.json @@ -15,23 +15,24 @@ "A merger of the two checkpoints will be generated in your": "체크포인트들이 병합된 결과물이 당신의", "A value that determines the output of random number generator - if you create an image with same parameters and seed as another image, you'll get the same result": "난수 생성기의 결과물을 지정하는 값 - 동일한 설정값과 동일한 시드를 적용 시, 완전히 똑같은 결과물을 얻게 됩니다.", "Add a random artist to the prompt.": "프롬프트에 랜덤한 작가 추가", - "Add a second progress bar to the console that shows progress for an entire job.": "Add a second progress bar to the console that shows progress for an entire job.", + "Add a second progress bar to the console that shows progress for an entire job.": "콘솔에 전체 작업의 진행도를 보여주는 2번째 프로그레스 바 추가하기", "Add difference": "차이점 추가", - "Add extended info (seed, prompt) to filename when saving grid": "Add extended info (seed, prompt) to filename when saving grid", + "Add extended info (seed, prompt) to filename when saving grid": "그리드 저장 시 파일명에 추가 정보(시드, 프롬프트) 기입", "Add layer normalization": "레이어 정규화(normalization) 추가", - "Add model hash to generation information": "Add model hash to generation information", - "Add model name to generation information": "Add model name to generation information", + "Add model hash to generation information": "생성 정보에 모델 해시 추가", + "Add model name to generation information": "생성 정보에 모델 이름 추가", "Aesthetic imgs embedding": "스타일 이미지 임베딩", "Aesthetic learning rate": "스타일 학습 수", "Aesthetic steps": "스타일 스텝 수", "Aesthetic text for imgs": "스타일 텍스트", "Aesthetic weight": "스타일 가중치", - "Always print all generation info to standard output": "Always print all generation info to standard output", - "Always save all generated image grids": "Always save all generated image grids", + "Allowed categories for random artists selection when using the Roll button": "랜덤 버튼을 눌러 무작위 작가를 선택할 때 허용된 카테고리", + "Always print all generation info to standard output": "기본 아웃풋에 모든 생성 정보 항상 출력하기", + "Always save all generated image grids": "생성된 이미지 그리드 항상 저장하기", "Always save all generated images": "생성된 이미지 항상 저장하기", "api": "", "append": "뒤에 삽입", - "Apply color correction to img2img results to match original colors.": "Apply color correction to img2img results to match original colors.", + "Apply color correction to img2img results to match original colors.": "이미지→이미지 결과물이 기존 색상과 일치하도록 색상 보정 적용하기", "Apply selected styles to current prompt": "현재 프롬프트에 선택된 스타일 적용", "Apply settings": "설정 적용하기", "Batch count": "배치 수", @@ -43,29 +44,29 @@ "built with gradio": "gradio로 제작되었습니다", "Cancel generate forever": "반복 생성 취소", "CFG Scale": "CFG 스케일", - "Check progress": "Check progress", - "Check progress (first)": "Check progress (first)", + "Check progress": "진행도 체크", + "Check progress (first)": "진행도 체크 (처음)", "checkpoint": " 체크포인트 ", "Checkpoint Merger": "체크포인트 병합", "Checkpoint name": "체크포인트 이름", - "Checkpoints to cache in RAM": "Checkpoints to cache in RAM", + "Checkpoints to cache in RAM": "RAM에 캐싱할 체크포인트 수", "Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results": "Classifier Free Guidance Scale - 이미지가 주어진 프롬프트를 얼마나 따를지를 정해주는 수치 - 낮은 값일수록 더 창의적인 결과물이 나옴", - "Click to Upload": "Click to Upload", + "Click to Upload": "클릭해서 업로드하기", "Clip skip": "클립 건너뛰기", - "CLIP: maximum number of lines in text file (0 = No limit)": "CLIP: maximum number of lines in text file (0 = No limit)", + "CLIP: maximum number of lines in text file (0 = No limit)": "CLIP : 텍스트 파일 최대 라인 수 (0 = 제한 없음)", "CodeFormer visibility": "CodeFormer 가시성", "CodeFormer weight (0 = maximum effect, 1 = minimum effect)": "CodeFormer 가중치 (0 = 최대 효과, 1 = 최소 효과)", - "CodeFormer weight parameter; 0 = maximum effect; 1 = minimum effect": "CodeFormer weight parameter; 0 = maximum effect; 1 = minimum effect", + "CodeFormer weight parameter; 0 = maximum effect; 1 = minimum effect": "CodeFormer 가중치 설정값 (0 = 최대 효과, 1 = 최소 효과)", "Color variation": "색깔 다양성", "Collect": "즐겨찾기", "copy": "복사", "Create a grid where images will have different parameters. Use inputs below to specify which parameters will be shared by columns and rows": "서로 다른 설정값으로 생성된 이미지의 그리드를 만듭니다. 아래의 설정으로 가로/세로에 어떤 설정값을 적용할지 선택하세요.", - "Create a text file next to every image with generation parameters.": "Create a text file next to every image with generation parameters.", - "Create aesthetic images embedding": "Create aesthetic images embedding", + "Create a text file next to every image with generation parameters.": "생성된 이미지마다 생성 설정값을 담은 텍스트 파일 생성하기", + "Create aesthetic images embedding": "스타일 이미지 임베딩 생성하기", "Create embedding": "임베딩 생성", "Create flipped copies": "좌우로 뒤집은 복사본 생성", "Create hypernetwork": "하이퍼네트워크 생성", - "Create images embedding": "Create images embedding", + "Create images embedding": "이미지 임베딩 생성하기", "Crop and resize": "잘라낸 후 리사이징", "Crop to fit": "잘라내서 맞추기", "Custom Name (Optional)": "병합 모델 이름 (선택사항)", @@ -80,15 +81,15 @@ "Denoising strength change factor": "디노이즈 강도 변경 배수", "Destination directory": "결과물 저장 경로", "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. With values below 1.0, processing will take less steps than the Sampling Steps slider specifies.": "알고리즘이 얼마나 원본 이미지를 반영할지를 결정하는 수치입니다. 0일 경우 아무것도 바뀌지 않고, 1일 경우 원본 이미지와 전혀 관련없는 결과물을 얻게 됩니다. 1.0 아래의 값일 경우, 설정된 샘플링 스텝 수보다 적은 스텝 수를 거치게 됩니다.", - "Directory for saving images using the Save button": "Directory for saving images using the Save button", - "Directory name pattern": "Directory name pattern", + "Directory for saving images using the Save button": "저장 버튼을 이용해 저장하는 이미지들의 저장 경로", + "Directory name pattern": "디렉토리명 패턴", "directory.": "저장 경로에 저장됩니다.", - "Do not add watermark to images": "Do not add watermark to images", + "Do not add watermark to images": "이미지에 워터마크 추가하지 않기", "Do not do anything special": "아무것도 하지 않기", - "Do not save grids consisting of one picture": "Do not save grids consisting of one picture", - "Do not show any images in results for web": "Do not show any images in results for web", + "Do not save grids consisting of one picture": "이미지가 1개뿐인 그리드는 저장하지 않기", + "Do not show any images in results for web": "웹에서 결과창에 아무 이미지도 보여주지 않기", "down": "아래쪽", - "Download localization template": "Download localization template", + "Download localization template": "현지화 템플릿 다운로드", "Download": "다운로드", "DPM adaptive": "DPM adaptive", "DPM fast": "DPM fast", @@ -98,65 +99,67 @@ "DPM2 Karras": "DPM2 Karras", "Draw legend": "범례 그리기", "Draw mask": "마스크 직접 그리기", - "Drop File Here": "Drop File Here", - "Drop Image Here": "Drop Image Here", + "Drop File Here": "파일을 끌어 놓으세요", + "Drop Image Here": "이미지를 끌어 놓으세요", "Embedding": "임베딩", "Embedding Learning rate": "임베딩 학습률", - "Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention": "Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention", - "Enable full page image viewer": "Enable full page image viewer", - "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.": "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.", + "Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention": "강조 : (텍스트)를 이용해 모델의 텍스트에 대한 가중치를 더 강하게 주고 [텍스트]를 이용해 더 약하게 줍니다.", + "Enable full page image viewer": "전체 페이지 이미지 뷰어 활성화", + "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.": "더 예리하고 깔끔한 결과물을 위해 K 샘플러들에 양자화를 적용합니다. 존재하는 시드가 변경될 수 있습니다. 재시작이 필요합니다.", "End Page": "마지막 페이지", "Enter hypernetwork layer structure": "하이퍼네트워크 레이어 구조 입력", "Error": "오류", - "escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)": "escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)", + "escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)": "deepbooru에서 괄호를 역슬래시(\\)로 이스케이프 처리하기(가중치 강조가 아니라 실제 괄호로 사용되게 하기 위해)", "ESRGAN_4x": "ESRGAN_4x", "Eta": "Eta", - "eta (noise multiplier) for ancestral samplers": "eta (noise multiplier) for ancestral samplers", - "eta (noise multiplier) for DDIM": "eta (noise multiplier) for DDIM", - "Eta noise seed delta": "Eta noise seed delta", + "eta (noise multiplier) for ancestral samplers": "ancestral 샘플러를 위한 eta(노이즈 배수)값", + "eta (noise multiplier) for DDIM": "DDIM을 위한 eta(노이즈 배수)값", + "Eta noise seed delta": "Eta 노이즈 시드 변화", "Euler": "Euler", "Euler a": "Euler a", "Euler Ancestral - very creative, each can get a completely different picture depending on step count, setting steps to higher than 30-40 does not help": "Euler Ancestral - 매우 창의적, 스텝 수에 따라 완전히 다른 결과물이 나올 수 있음. 30~40보다 높은 스텝 수는 효과가 미미함", "Existing Caption txt Action": "이미 존재하는 캡션 텍스트 처리", "Extra": "고급", "Extras": "부가기능", - "extras history": "extras history", - "Face restoration": "Face restoration", + "extras history": "부가기능 기록", + "Face restoration": "얼굴 보정", + "Face restoration model": "얼굴 보정 모델", "Fall-off exponent (lower=higher detail)": "감쇠 지수 (낮을수록 디테일이 올라감)", "favorites": "즐겨찾기", - "File": "File", - "File format for grids": "File format for grids", - "File format for images": "File format for images", + "File": "파일", + "File format for grids": "그리드 이미지 파일 형식", + "File format for images": "이미지 파일 형식", "File Name": "파일 이름", "File with inputs": "설정값 파일", - "Filename join string": "Filename join string", - "Filename word regex": "Filename word regex", + "Filename join string": "파일명 병합 문자열", + "Filename word regex": "파일명 정규표현식", "fill": "채우기", "fill it with colors of the image": "이미지의 색상으로 채우기", "fill it with latent space noise": "잠재 공간 노이즈로 채우기", "fill it with latent space zeroes": "잠재 공간의 0값으로 채우기", - "Filter NSFW content": "Filter NSFW content", + "Filter NSFW content": "성인 컨텐츠 필터링하기", "First Page": "처음 페이지", "Firstpass height": "초기 세로길이", "Firstpass width": "초기 가로길이", - "Font for image grids that have text": "Font for image grids that have text", + "Font for image grids that have text": "텍스트가 존재하는 그리드 이미지의 폰트", "for detailed explanation.": "를 참조하십시오.", "For SD upscale, how much overlap in pixels should there be between tiles. Tiles overlap so that when they are merged back into one picture, there is no clearly visible seam.": "SD 업스케일링에서 타일 간 몇 픽셀을 겹치게 할지 결정하는 설정값입니다. 타일들이 다시 한 이미지로 합쳐질 때, 눈에 띄는 이음매가 없도록 서로 겹치게 됩니다.", "Generate": "생성", "Generate forever": "반복 생성", "Generate Info": "생성 정보", "GFPGAN visibility": "GFPGAN 가시성", - "Grid row count; use -1 for autodetect and 0 for it to be same as batch size": "Grid row count; use -1 for autodetect and 0 for it to be same as batch size", + "Grid row count; use -1 for autodetect and 0 for it to be same as batch size": "그리드 세로줄 수 : -1로 설정 시 자동 감지/0으로 설정 시 배치 크기와 동일", "Height": "세로", "Heun": "Heun", "hide": "api 숨기기", - "Hide samplers in user interface (requires restart)": "Hide samplers in user interface (requires restart)", + "Hide samplers in user interface (requires restart)": "사용자 인터페이스에서 숨길 샘플러 선택(재시작 필요)", "Highres. fix": "고해상도 보정", "History": "기록", "Image Browser": "이미지 브라우저", + "Images Browser": "이미지 브라우저", "Images directory": "이미지 경로", "extras": "부가기능", - "how fast should the training go. Low values will take longer to train, high values may fail to converge (not generate accurate results) and/or may break the embedding (This has happened if you see Loss: nan in the training info textbox. If this happens, you need to manually restore your embedding from an older not-broken backup).\n\nYou can set a single numeric value, or multiple learning rates using the syntax:\n\n rate_1:max_steps_1, rate_2:max_steps_2, ...\n\nEG: 0.005:100, 1e-3:1000, 1e-5\n\nWill train with rate of 0.005 for first 100 steps, then 1e-3 until 1000 steps, then 1e-5 for all remaining steps.": "how fast should the training go. Low values will take longer to train, high values may fail to converge (not generate accurate results) and/or may break the embedding (This has happened if you see Loss: nan in the training info textbox. If this happens, you need to manually restore your embedding from an older not-broken backup).\n\nYou can set a single numeric value, or multiple learning rates using the syntax:\n\n rate_1:max_steps_1, rate_2:max_steps_2, ...\n\nEG: 0.005:100, 1e-3:1000, 1e-5\n\nWill train with rate of 0.005 for first 100 steps, then 1e-3 until 1000 steps, then 1e-5 for all remaining steps.", + "how fast should the training go. Low values will take longer to train, high values may fail to converge (not generate accurate results) and/or may break the embedding (This has happened if you see Loss: nan in the training info textbox. If this happens, you need to manually restore your embedding from an older not-broken backup).\n\nYou can set a single numeric value, or multiple learning rates using the syntax:\n\n rate_1:max_steps_1, rate_2:max_steps_2, ...\n\nEG: 0.005:100, 1e-3:1000, 1e-5\n\nWill train with rate of 0.005 for first 100 steps, then 1e-3 until 1000 steps, then 1e-5 for all remaining steps.": "훈련이 얼마나 빨리 이루어질지 정하는 값입니다. 값이 낮을수록 훈련 시간이 길어지고, 높은 값일수록 정확한 결과를 내는 데 실패하고 임베딩을 망가뜨릴 수 있습니다(임베딩이 망가진 경우에는 훈련 정보 텍스트박스에 손실(Loss) : nan 이라고 출력되게 됩니다. 이 경우에는 망가지지 않은 이전 백업본을 불러와야 합니다).\n\n학습률은 하나의 값으로 설정할 수도 있고, 다음 문법을 사용해 여러 값을 사용할 수도 있습니다 :\n\n학습률_1:최대 스텝수_1, 학습률_2:최대 스텝수_2, ...\n\n예 : 0.005:100, 1e-3:1000, 1e-5\n\n예의 설정값은 첫 100스텝동안 0.005의 학습률로, 그 이후 1000스텝까지는 1e-3으로, 남은 스텝은 1e-5로 훈련하게 됩니다.", "How many batches of images to create": "생성할 이미지 배치 수", "How many image to create in a single batch": "한 배치당 이미지 수", "How many times to improve the generated image iteratively; higher values take longer; very low values can produce bad results": "생성된 이미지를 향상할 횟수; 매우 낮은 값은 만족스럽지 못한 결과물을 출력할 수 있음", @@ -166,111 +169,114 @@ "Hypernet str.": "하이퍼네트워크 강도", "Hypernetwork": "하이퍼네트워크", "Hypernetwork Learning rate": "하이퍼네트워크 학습률", - "Hypernetwork strength": "Hypernetwork strength", - "If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG": "If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG", - "If this option is enabled, watermark will not be added to created images. Warning: if you do not add watermark, you may be behaving in an unethical manner.": "If this option is enabled, watermark will not be added to created images. Warning: if you do not add watermark, you may be behaving in an unethical manner.", - "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.": "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.", + "Hypernetwork strength": "하이퍼네트워크 강도", + "If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG": "PNG 이미지가 4MB보다 크거나 가로 또는 세로길이가 4000보다 클 경우, 다운스케일 후 JPG로 복사본 저장하기", + "If this option is enabled, watermark will not be added to created images. Warning: if you do not add watermark, you may be behaving in an unethical manner.": "이 옵션이 활성화되면 생성된 이미지에 워터마크가 추가되지 않습니다. 경고 : 워터마크를 추가하지 않는다면, 비윤리적인 행동을 하는 중일지도 모릅니다.", + "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.": "이 값이 0이 아니라면, 시드에 해당 값이 더해지고, Eta가 있는 샘플러를 사용할 때 노이즈의 RNG 조정을 위해 해당 값이 사용됩니다. 이 설정으로 더 다양한 이미지를 생성하거나, 잘 알고 계시다면 특정 소프트웨어의 결과값을 재현할 수도 있습니다.", "ignore": "무시", - "Image": "Image", + "Image": "이미지", "Image for img2img": "Image for img2img", - "Image for inpainting with mask": "Image for inpainting with mask", - "Images filename pattern": "Images filename pattern", + "Image for inpainting with mask": "마스크로 인페인팅할 이미지", + "Images filename pattern": "이미지 파일명 패턴", "img2img": "이미지→이미지", "img2img alternative test": "이미지→이미지 대체버전 테스트", - "img2img DDIM discretize": "img2img DDIM discretize", - "img2img history": "img2img history", + "img2img DDIM discretize": "이미지→이미지 DDIM 이산화", + "img2img history": "이미지→이미지 기록", "In loopback mode, on each loop the denoising strength is multiplied by this value. <1 means decreasing variety so your sequence will converge on a fixed picture. >1 means increasing variety so your sequence will become more and more chaotic.": "루프백 모드에서는 매 루프마다 디노이즈 강도에 이 값이 곱해집니다. 1보다 작을 경우 다양성이 낮아져 결과 이미지들이 고정된 형태로 모일 겁니다. 1보다 클 경우 다양성이 높아져 결과 이미지들이 갈수록 혼란스러워지겠죠.", "Include Separate Images": "분리된 이미지 포함하기", - "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens": "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens", + "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens": "75개보다 많은 토큰을 사용시 마지막 쉼표로부터 N개의 토큰 이내에 패딩을 추가해 통일성 증가시키기", "Initialization text": "초기화 텍스트", "Inpaint": "인페인트", "Inpaint at full resolution": "전체 해상도로 인페인트하기", - "Inpaint at full resolution padding, pixels": "전체 해상도로 인페인트 패딩값(픽셀 단위)", + "Inpaint at full resolution padding, pixels": "전체 해상도로 인페인트시 패딩값(픽셀 단위)", "Inpaint masked": "마스크만 처리", "Inpaint not masked": "마스크 이외만 처리", "Input directory": "인풋 이미지 경로", "Interpolation Method": "보간 방법", "Interrogate\nCLIP": "CLIP\n분석", "Interrogate\nDeepBooru": "DeepBooru\n분석", - "Interrogate Options": "Interrogate Options", - "Interrogate: deepbooru score threshold": "Interrogate: deepbooru score threshold", - "Interrogate: deepbooru sort alphabetically": "Interrogate: deepbooru sort alphabetically", - "Interrogate: include ranks of model tags matches in results (Has no effect on caption-based interrogators).": "Interrogate: include ranks of model tags matches in results (Has no effect on caption-based interrogators).", - "Interrogate: keep models in VRAM": "Interrogate: keep models in VRAM", - "Interrogate: maximum description length": "Interrogate: maximum description length", - "Interrogate: minimum description length (excluding artists, etc..)": "Interrogate: minimum description length (excluding artists, etc..)", - "Interrogate: num_beams for BLIP": "Interrogate: num_beams for BLIP", - "Interrogate: use artists from artists.csv": "Interrogate: use artists from artists.csv", + "Interrogate Options": "분석 설정", + "Interrogate: deepbooru score threshold": "분석 : deepbooru 점수 임계값", + "Interrogate: deepbooru sort alphabetically": "분석 : deepbooru 알파벳 순서로 정렬하기", + "Interrogate: include ranks of model tags matches in results (Has no effect on caption-based interrogators).": "분석 : 결과물에 모델 태그의 랭크 포함하기 (캡션 바탕의 분석기에는 효과 없음)", + "Interrogate: keep models in VRAM": "분석 : VRAM에 모델 유지하기", + "Interrogate: maximum description length": "분석 : 설명 최대 길이", + "Interrogate: minimum description length (excluding artists, etc..)": "분석 : 설명 최소 길이(작가 등등..제외)", + "Interrogate: num_beams for BLIP": "분석 : BLIP의 num_beams값", + "Interrogate: use artists from artists.csv": "분석 : artists.csv의 작가들 사용하기", "Interrupt": "중단", "Is negative text": "네거티브 텍스트일시 체크", "Just resize": "리사이징", "Keep -1 for seeds": "시드값 -1로 유지", "keep whatever was there originally": "이미지 원본 유지", - "Label": "Label", + "Label": "라벨", "Lanczos": "Lanczos", - "Last prompt:": "Last prompt:", - "Last saved hypernetwork:": "Last saved hypernetwork:", - "Last saved image:": "Last saved image:", + "Last prompt:": "마지막 프롬프트 : ", + "Last saved hypernetwork:": "마지막으로 저장된 하이퍼네트워크 : ", + "Last saved image:": "마지막으로 저장된 이미지 : ", "latent noise": "잠재 노이즈", "latent nothing": "잠재 공백", "LDSR": "LDSR", - "LDSR processing steps. Lower = faster": "LDSR processing steps. Lower = faster", + "LDSR processing steps. Lower = faster": "LDSR 스텝 수. 낮은 값 = 빠른 속도", "leakyrelu": "leakyrelu", "Leave blank to save images to the default path.": "기존 저장 경로에 이미지들을 저장하려면 비워두세요.", "left": "왼쪽", "linear": "linear", - "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.": "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.", + "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.": "설정 탭이 아니라 상단의 빠른 설정 바에 위치시킬 설정 이름을 쉼표로 분리해서 입력하십시오. 설정 이름은 modules/shared.py에서 찾을 수 있습니다. 재시작이 필요합니다.", "LMS": "LMS", "LMS Karras": "LMS Karras", "Load": "불러오기", "Loading...": "로딩 중...", - "Localization (requires restart)": "Localization (requires restart)", + "Localization (requires restart)": "현지화 (재시작 필요)", "Log directory": "로그 경로", "Loopback": "루프백", "Loops": "루프 수", - "Loss:": "Loss:", + "Loss:": "손실(Loss) : ", "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "동일한 시드 값으로 생성되었을 이미지를 주어진 해상도로 최대한 유사하게 재현합니다.", - "Make K-diffusion samplers produce same images in a batch as when making a single image": "Make K-diffusion samplers produce same images in a batch as when making a single image", + "Make K-diffusion samplers produce same images in a batch as when making a single image": "K-diffusion 샘플러들이 단일 이미지를 생성하는 것처럼 배치에서도 동일한 이미지를 생성하게 하기", "Make Zip when Save?": "저장 시 Zip 생성하기", "Mask": "마스크", "Mask blur": "마스크 블러", - "Mask mode": "Mask mode", + "Mask mode": "마스크 모드", "Masked content": "마스크된 부분", - "Masking mode": "Masking mode", - "Max prompt words for [prompt_words] pattern": "Max prompt words for [prompt_words] pattern", + "Masking mode": "마스킹 모드", + "Max prompt words for [prompt_words] pattern": "[prompt_words] 패턴의 최대 프롬프트 단어 수", "Max steps": "최대 스텝 수", "Modules": "모듈", - "Move face restoration model from VRAM into RAM after processing": "Move face restoration model from VRAM into RAM after processing", - "Move VAE and CLIP to RAM when training hypernetwork. Saves VRAM.": "Move VAE and CLIP to RAM when training hypernetwork. Saves VRAM.", + "Move face restoration model from VRAM into RAM after processing": "처리가 완료되면 얼굴 보정 모델을 VRAM에서 RAM으로 옮기기", + "Move VAE and CLIP to RAM when training hypernetwork. Saves VRAM.": "하이퍼네트워크 훈련 진행 시 VAE와 CLIP을 RAM으로 옮기기. VRAM이 절약됩니다.", "Multiplier (M) - set to 0 to get model A": "배율 (M) - 0으로 적용하면 모델 A를 얻게 됩니다", "Name": "이름", "Negative prompt": "네거티브 프롬프트", "Negative prompt (press Ctrl+Enter or Alt+Enter to generate)": "네거티브 프롬프트 입력(Ctrl+Enter나 Alt+Enter로 생성 시작)", "Next batch": "다음 묶음", "Next Page": "다음 페이지", - "None": "None", + "None": "없음", "Nothing": "없음", "Nothing found in the image.": "Nothing found in the image.", "number of images to delete consecutively next": "연속적으로 삭제할 이미지 수", - "Number of repeats for a single input image per epoch; used only for displaying epoch number": "Number of repeats for a single input image per epoch; used only for displaying epoch number", + "Number of pictures displayed on each page": "각 페이지에 표시될 이미지 수", + "Minimum number of pages per load": "한번 불러올 때마다 불러올 최소 페이지 수", + "Number of grids in each row": "각 세로줄마다 표시될 그리드 수", + "Number of repeats for a single input image per epoch; used only for displaying epoch number": "세대(Epoch)당 단일 인풋 이미지의 반복 횟수 - 세대(Epoch) 숫자를 표시하는 데에만 사용됩니다. ", "Number of vectors per token": "토큰별 벡터 수", "Open for Clip Aesthetic!": "클립 스타일 기능을 활성화하려면 클릭!", "Open images output directory": "이미지 저장 경로 열기", "Open output directory": "저장 경로 열기", - "or": "or", + "or": "또는", "original": "원본 유지", "Original negative prompt": "기존 네거티브 프롬프트", "Original prompt": "기존 프롬프트", "Outpainting direction": "아웃페인팅 방향", "Outpainting mk2": "아웃페인팅 마크 2", "Output directory": "이미지 저장 경로", - "Output directory for grids; if empty, defaults to two directories below": "Output directory for grids; if empty, defaults to two directories below", - "Output directory for images from extras tab": "Output directory for images from extras tab", - "Output directory for images; if empty, defaults to three directories below": "Output directory for images; if empty, defaults to three directories below", - "Output directory for img2img grids": "Output directory for img2img grids", - "Output directory for img2img images": "Output directory for img2img images", - "Output directory for txt2img grids": "Output directory for txt2img grids", - "Output directory for txt2img images": "Output directory for txt2img images", + "Output directory for grids; if empty, defaults to two directories below": "그리드 이미지 저장 경로 - 비워둘 시 하단의 2가지 기본 경로로 설정됨", + "Output directory for images from extras tab": "부가기능 탭 저장 경로", + "Output directory for images; if empty, defaults to three directories below": "이미지 저장 경로 - 비워둘 시 하단의 3가지 기본 경로로 설정됨", + "Output directory for img2img grids": "이미지→이미지 그리드 저장 경로", + "Output directory for img2img images": "이미지→이미지 저장 경로", + "Output directory for txt2img grids": "텍스트→이미지 그리드 저장 경로", + "Output directory for txt2img images": "텍스트→이미지 저장 경로", "Override `Denoising strength` to 1?": "디노이즈 강도를 1로 적용할까요?", "Override `prompt` to the same value as `original prompt`?(and `negative prompt`)": "프롬프트 값을 기존 프롬프트와 동일하게 적용할까요?(네거티브 프롬프트 포함)", "Override `Sampling method` to Euler?(this method is built for it)": "샘플링 방법을 Euler로 적용할까요?(이 기능은 해당 샘플러를 위해 만들어져 있습니다)", @@ -279,20 +285,21 @@ "Overwrite Old Hypernetwork": "기존 하이퍼네트워크 덮어쓰기", "Page Index": "페이지 인덱스", "parameters": "설정값", - "Path to directory where to write outputs": "Path to directory where to write outputs", + "Path to directory where to write outputs": "결과물을 출력할 경로", "Path to directory with input images": "인풋 이미지가 있는 경로", - "Paths for saving": "Paths for saving", + "Paths for saving": "저장 경로", "Pixels to expand": "확장할 픽셀 수", "PLMS": "PLMS", "PNG Info": "PNG 정보", "Poor man's outpainting": "가난뱅이의 아웃페인팅", - "Preparing dataset from": "Preparing dataset from", + "Preload images at startup": "WebUI 가동 시 이미지 프리로드하기", + "Preparing dataset from": "준비된 데이터셋 경로 : ", "prepend": "앞에 삽입", "Preprocess": "전처리", "Preprocess images": "이미지 전처리", "Prev batch": "이전 묶음", "Prev Page": "이전 페이지", - "Prevent empty spots in grid (when set to autodetect)": "Prevent empty spots in grid (when set to autodetect)", + "Prevent empty spots in grid (when set to autodetect)": "(자동 감지 사용시)그리드에 빈칸이 생기는 것 방지하기", "Primary model (A)": "주 모델 (A)", "Process an image, use it as an input, repeat.": "이미지를 생성하고, 생성한 이미지를 다시 원본으로 사용하는 과정을 반복합니다.", "Process images in a directory on the same machine where the server is running.": "WebUI 서버가 돌아가고 있는 디바이스에 존재하는 디렉토리의 이미지들을 처리합니다.", @@ -307,26 +314,26 @@ "Prompts from file or textbox": "파일이나 텍스트박스로부터 프롬프트 불러오기", "Put variable parts at start of prompt": "변경되는 프롬프트를 앞에 위치시키기", "quad": "quad", - "Quality for saved jpeg images": "Quality for saved jpeg images", - "Quicksettings list": "Quicksettings list", + "Quality for saved jpeg images": "저장된 jpeg 이미지들의 품질", + "Quicksettings list": "빠른 설정 리스트", "R-ESRGAN 4x+ Anime6B": "R-ESRGAN 4x+ Anime6B", "Randomness": "랜덤성", "Read generation parameters from prompt or last generation if prompt is empty into user interface.": "클립보드에 복사된 정보로부터 설정값 읽어오기/프롬프트창이 비어있을경우 제일 최근 설정값 불러오기", "Read parameters (prompt, etc...) from txt2img tab when making previews": "프리뷰 이미지 생성 시 텍스트→이미지 탭에서 설정값(프롬프트 등) 읽어오기", "Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8": "추천 설정값 - 샘플링 스텝 수 : 80-100 , 샘플러 : Euler a, 디노이즈 강도 : 0.8", - "Reload custom script bodies (No ui updates, No restart)": "Reload custom script bodies (No ui updates, No restart)", + "Reload custom script bodies (No ui updates, No restart)": "커스텀 스크립트 리로드하기(UI 업데이트 없음, 재시작 없음)", "relu": "relu", "Renew Page": "Renew Page", - "Request browser notifications": "Request browser notifications", + "Request browser notifications": "브라우저 알림 권한 요청", "Resize": "리사이징 배수", "Resize and fill": "리사이징 후 채우기", "Resize image to target resolution. Unless height and width match, you will get incorrect aspect ratio.": "설정된 해상도로 이미지 리사이징을 진행합니다. 원본과 가로/세로 길이가 일치하지 않을 경우, 부정확한 화면비의 이미지를 얻게 됩니다.", - "Resize mode": "Resize mode", + "Resize mode": "리사이징 모드", "Resize seed from height": "시드 리사이징 가로길이", "Resize seed from width": "시드 리사이징 세로길이", "Resize the image so that entirety of image is inside target resolution. Fill empty space with image's colors.": "이미지 전체가 설정된 해상도 내부에 들어가게 리사이징을 진행합니다. 빈 공간은 이미지의 색상으로 채웁니다.", "Resize the image so that entirety of target resolution is filled with the image. Crop parts that stick out.": "설정된 해상도 전체가 이미지로 가득차게 리사이징을 진행합니다. 튀어나오는 부분은 잘라냅니다.", - "Restart Gradio and Refresh components (Custom Scripts, ui.py, js and css only)": "Restart Gradio and Refresh components (Custom Scripts, ui.py, js and css only)", + "Restart Gradio and Refresh components (Custom Scripts, ui.py, js and css only)": "Gradio를 재시작하고 컴포넌트 새로고침하기 (커스텀 스크립트, ui.py, js, css만 해당됨)", "Restore faces": "얼굴 보정", "Restore low quality faces using GFPGAN neural network": "GFPGAN 신경망을 이용해 저품질의 얼굴을 보정합니다.", "Result = A * (1 - M) + B * M": "결과물 = A * (1 - M) + B * M", @@ -335,23 +342,23 @@ "right": "오른쪽", "Run": "가동", "Sampler": "샘플러", - "Sampler parameters": "Sampler parameters", + "Sampler parameters": "샘플러 설정값", "Sampling method": "샘플링 방법", "Sampling Steps": "샘플링 스텝 수", "Save": "저장", "Save a copy of embedding to log directory every N steps, 0 to disable": "N스텝마다 로그 경로에 임베딩을 저장합니다, 비활성화하려면 0으로 설정하십시오.", - "Save a copy of image before applying color correction to img2img results": "Save a copy of image before applying color correction to img2img results", - "Save a copy of image before doing face restoration.": "Save a copy of image before doing face restoration.", - "Save an csv containing the loss to log directory every N steps, 0 to disable": "Save an csv containing the loss to log directory every N steps, 0 to disable", + "Save a copy of image before applying color correction to img2img results": "이미지→이미지 결과물에 색상 보정을 진행하기 전 이미지의 복사본을 저장하기", + "Save a copy of image before doing face restoration.": "얼굴 보정을 진행하기 전 이미지의 복사본을 저장하기", + "Save an csv containing the loss to log directory every N steps, 0 to disable": "N스텝마다 로그 경로에 손실(Loss)을 포함하는 csv 파일을 저장합니다, 비활성화하려면 0으로 설정하십시오.", "Save an image to log directory every N steps, 0 to disable": "N스텝마다 로그 경로에 이미지를 저장합니다, 비활성화하려면 0으로 설정하십시오.", "Save as float16": "float16으로 저장", - "Save grids to a subdirectory": "Save grids to a subdirectory", - "Save images to a subdirectory": "Save images to a subdirectory", + "Save grids to a subdirectory": "그리드 이미지를 하위 디렉토리에 저장하기", + "Save images to a subdirectory": "이미지를 하위 디렉토리에 저장하기", "Save images with embedding in PNG chunks": "PNG 청크로 이미지에 임베딩을 포함시켜 저장", "Save style": "스타일 저장", - "Save text information about generation parameters as chunks to png files": "Save text information about generation parameters as chunks to png files", - "Saving images/grids": "Saving images/grids", - "Saving to a directory": "Saving to a directory", + "Save text information about generation parameters as chunks to png files": "이미지 생성 설정값을 PNG 청크에 텍스트로 저장", + "Saving images/grids": "이미지/그리드 저장", + "Saving to a directory": "디렉토리에 저장", "Scale by": "스케일링 배수 지정", "Scale to": "스케일링 사이즈 지정", "Script": "스크립트", @@ -363,6 +370,7 @@ "Seed": "시드", "Seed of a different picture to be mixed into the generation.": "결과물에 섞일 다른 그림의 시드", "Select activation function of hypernetwork": "하이퍼네트워크 활성화 함수 선택", + "Select which Real-ESRGAN models to show in the web UI. (Requires restart)": "WebUI에 표시할 Real-ESRGAN 모델을 선택하십시오. (재시작 필요)", "Send to extras": "부가기능으로 전송", "Send to img2img": "이미지→이미지로 전송", "Send to inpaint": "인페인트로 전송", @@ -374,29 +382,30 @@ "set_index": "set_index", "Settings": "설정", "should be 2 or lower.": "이 2 이하여야 합니다.", - "Show generation progress in window title.": "Show generation progress in window title.", - "Show grid in results for web": "Show grid in results for web", - "Show image creation progress every N sampling steps. Set 0 to disable.": "Show image creation progress every N sampling steps. Set 0 to disable.", - "Show images zoomed in by default in full page image viewer": "Show images zoomed in by default in full page image viewer", - "Show progressbar": "Show progressbar", + "Show generation progress in window title.": "창 타이틀에 생성 진행도 보여주기", + "Show grid in results for web": "웹에서 결과창에 그리드 보여주기", + "Show image creation progress every N sampling steps. Set 0 to disable.": "N번째 샘플링 스텝마다 이미지 생성 과정 보이기 - 비활성화하려면 0으로 설정", + "Show images zoomed in by default in full page image viewer": "전체 페이지 이미지 뷰어에서 기본값으로 이미지 확대해서 보여주기", + "Show progressbar": "프로그레스 바 보이기", "Show result images": "이미지 결과 보이기", "Show Textbox": "텍스트박스 보이기", + "Show previews of all images generated in a batch as a grid": "배치에서 생성된 모든 이미지의 미리보기를 그리드 형식으로 보여주기", "Sigma adjustment for finding noise for image": "이미지 노이즈를 찾기 위해 시그마 조정", "Sigma Churn": "시그마 섞기", - "sigma churn": "sigma churn", + "sigma churn": "시그마 섞기", "Sigma max": "시그마 최댓값", "Sigma min": "시그마 최솟값", "Sigma noise": "시그마 노이즈", - "sigma noise": "sigma noise", - "sigma tmin": "sigma tmin", + "sigma noise": "시그마 노이즈", + "sigma tmin": "시그마 tmin", "Single Image": "단일 이미지", "Skip": "건너뛰기", "Slerp angle": "구면 선형 보간 각도", "Slerp interpolation": "구면 선형 보간", "Source": "원본", "Source directory": "원본 경로", - "Split image threshold": "Split image threshold", - "Split image overlap ratio": "Split image overlap ratio", + "Split image threshold": "이미지 분할 임계값", + "Split image overlap ratio": "이미지 분할 겹침 비율", "Split oversized images": "사이즈가 큰 이미지 분할하기", "Stable Diffusion": "Stable Diffusion", "Stable Diffusion checkpoint": "Stable Diffusion 체크포인트", @@ -407,20 +416,20 @@ "Stop processing images and return any results accumulated so far.": "이미지 생성을 중단하고 지금까지 진행된 결과물 출력", "Style 1": "스타일 1", "Style 2": "스타일 2", - "Style to apply; styles have components for both positive and negative prompts and apply to both": "Style to apply; styles have components for both positive and negative prompts and apply to both", + "Style to apply; styles have components for both positive and negative prompts and apply to both": "적용할 스타일 - 스타일은 긍정/부정 프롬프트 모두에 대한 설정값을 가지고 있고 양쪽 모두에 적용 가능합니다.", "SwinIR 4x": "SwinIR 4x", "Sys VRAM:": "시스템 VRAM : ", - "System": "System", + "System": "시스템", "Tertiary model (C)": "3차 모델 (C)", - "Textbox": "Textbox", - "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.": "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.", - "This string will be used to join split words into a single line if the option above is enabled.": "This string will be used to join split words into a single line if the option above is enabled.", + "Textbox": "텍스트박스", + "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.": "이 정규표현식은 파일명으로부터 단어를 추출하는 데 사용됩니다. 추출된 단어들은 하단의 설정을 이용해 라벨 텍스트로 변환되어 훈련에 사용됩니다. 파일명 텍스트를 유지하려면 비워두십시오.", + "This string will be used to join split words into a single line if the option above is enabled.": "이 문자열은 상단 설정이 활성화되어있을 때 분리된 단어들을 한 줄로 합치는 데 사용됩니다.", "This text is used to rotate the feature space of the imgs embs": "이 텍스트는 이미지 임베딩의 특징 공간을 회전하는 데 사용됩니다.", "Tile overlap": "타일 겹침", - "Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.": "Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.", - "Tile overlap, in pixels for SwinIR. Low values = visible seam.": "Tile overlap, in pixels for SwinIR. Low values = visible seam.", - "Tile size for all SwinIR.": "Tile size for all SwinIR.", - "Tile size for ESRGAN upscalers. 0 = no tiling.": "Tile size for ESRGAN upscalers. 0 = no tiling.", + "Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.": "ESRGAN 업스케일러들의 타일 중첩 수치, 픽셀 단위. 낮은 값 = 눈에 띄는 이음매.", + "Tile overlap, in pixels for SwinIR. Low values = visible seam.": "SwinIR의 타일 중첩 수치, 픽셀 단위. 낮은 값 = 눈에 띄는 이음매.", + "Tile size for all SwinIR.": "SwinIR의 타일 사이즈.", + "Tile size for ESRGAN upscalers. 0 = no tiling.": "ESRGAN 업스케일러들의 타일 사이즈. 0 = 타일링 없음.", "Tiling": "타일링", "Time taken:": "소요 시간 : ", "Torch active/reserved:": "활성화/예약된 Torch 양 : ", @@ -429,51 +438,60 @@ "Train an embedding or Hypernetwork; you must specify a directory with a set of 1:1 ratio images": "임베딩이나 하이퍼네트워크를 훈련시킵니다. 1:1 비율의 이미지가 있는 경로를 지정해야 합니다.", "Train Embedding": "임베딩 훈련", "Train Hypernetwork": "하이퍼네트워크 훈련", - "Training": "Training", + "Training": "훈련", "txt2img": "텍스트→이미지", - "txt2img history": "txt2img history", + "txt2img history": "텍스트→이미지 기록", "uniform": "uniform", "up": "위쪽", "Upload mask": "마스크 업로드하기", - "Upscale latent space image when doing hires. fix": "Upscale latent space image when doing hires. fix", + "Upscale latent space image when doing hires. fix": "고해상도 보정 사용시 잠재 공간 이미지 업스케일하기", "Upscale masked region to target resolution, do inpainting, downscale back and paste into original image": "마스크된 부분을 설정된 해상도로 업스케일하고, 인페인팅을 진행한 뒤, 다시 다운스케일 후 원본 이미지에 붙여넣습니다.", "Upscaler": "업스케일러", "Upscaler 1": "업스케일러 1", "Upscaler 2": "업스케일러 2", "Upscaler 2 visibility": "업스케일러 2 가시성", - "Upscaler for img2img": "Upscaler for img2img", - "Upscaling": "Upscaling", + "Upscaler for img2img": "이미지→이미지 업스케일러", + "Upscaling": "업스케일링", "Use a two step process to partially create an image at smaller resolution, upscale, and then improve details in it without changing composition": "저해상도 이미지를 1차적으로 생성 후 업스케일을 진행하여, 이미지의 전체적인 구성을 바꾸지 않고 세부적인 디테일을 향상시킵니다.", "Use an empty output directory to save pictures normally instead of writing to the output directory.": "저장 경로를 비워두면 기본 저장 폴더에 이미지들이 저장됩니다.", "Use BLIP for caption": "캡션에 BLIP 사용", "Use deepbooru for caption": "캡션에 deepbooru 사용", "Use dropout": "드롭아웃 사용", - "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.", - "Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.", - "Use old emphasis implementation. Can be useful to reproduce old seeds.": "Use old emphasis implementation. Can be useful to reproduce old seeds.", - "Use original name for output filename during batch process in extras tab": "Use original name for output filename during batch process in extras tab", - "use spaces for tags in deepbooru": "use spaces for tags in deepbooru", - "User interface": "User interface", + "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "다음 태그들을 사용해 이미지 파일명 형식을 결정하세요 : [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]. 비워두면 기본값으로 설정됩니다.", + "Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "다음 태그들을 사용해 이미지와 그리드의 하위 디렉토리명의 형식을 결정하세요 : [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]. 비워두면 기본값으로 설정됩니다.", + "Use old emphasis implementation. Can be useful to reproduce old seeds.": "옛 방식의 강조 구현을 사용합니다. 옛 시드를 재현하는 데 효과적일 수 있습니다.", + "Use original name for output filename during batch process in extras tab": "부가기능 탭에서 이미지를 여러장 처리 시 결과물 파일명에 기존 파일명 사용하기", + "use spaces for tags in deepbooru": "deepbooru에서 태그에 공백 사용", + "User interface": "사용자 인터페이스", "Var. seed": "바리에이션 시드", "Var. strength": "바리에이션 강도", "Variation seed": "바리에이션 시드", "Variation strength": "바리에이션 강도", "view": "api 보이기", - "VRAM usage polls per second during generation. Set to 0 to disable.": "VRAM usage polls per second during generation. Set to 0 to disable.", + "VRAM usage polls per second during generation. Set to 0 to disable.": "생성 도중 초당 VRAM 사용량 폴링 수. 비활성화하려면 0으로 설정하십시오.", "Weighted sum": "가중 합", "What to put inside the masked area before processing it with Stable Diffusion.": "Stable Diffusion으로 이미지를 생성하기 전 마스크된 부분에 무엇을 채울지 결정하는 설정값", - "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.": "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.", - "When using \"Save\" button, save images to a subdirectory": "When using \"Save\" button, save images to a subdirectory", - "When using 'Save' button, only save a single selected image": "When using 'Save' button, only save a single selected image", + "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.": "PNG 정보나 붙여넣은 텍스트로부터 생성 설정값을 읽어올 때, 선택된 모델/체크포인트는 변경하지 않기.", + "When using \"Save\" button, save images to a subdirectory": "저장 버튼 사용시, 이미지를 하위 디렉토리에 저장하기", + "When using 'Save' button, only save a single selected image": "저장 버튼 사용시, 선택된 이미지 1개만 저장하기", "Which algorithm to use to produce the image": "이미지를 생성할 때 사용할 알고리즘", "Width": "가로", "wiki": " 위키", "Will upscale the image to twice the dimensions; use width and height sliders to set tile size": "이미지를 설정된 사이즈의 2배로 업스케일합니다. 상단의 가로와 세로 슬라이더를 이용해 타일 사이즈를 지정하세요.", - "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising).": "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising).", + "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising).": "이미지→이미지 진행 시, 슬라이더로 설정한 스텝 수를 정확히 실행하기 (일반적으로 디노이즈 강도가 낮을수록 실제 설정된 스텝 수보다 적게 진행됨)", "Write image to a directory (default - log/images) and generation parameters into csv file.": "이미지를 경로에 저장하고, 설정값들을 csv 파일로 저장합니다. (기본 경로 - log/images)", "X type": "X축", "X values": "X 설정값", "X/Y plot": "X/Y 플롯", "Y type": "Y축", - "Y values": "Y 설정값" + "Y values": "Y 설정값", + "step1 min/max": "스텝1 최소/최대", + "step2 min/max": "스텝2 최소/최대", + "step count": "스텝 변화 횟수", + "cfg1 min/max": "CFG1 최소/최대", + "cfg2 min/max": "CFG2 최소/최대", + "cfg count": "CFG 변화 횟수", + "x/y change": "X/Y축 변경", + "Random": "랜덤", + "Random grid": "랜덤 그리드" } \ No newline at end of file From dd25722d6c3f9d9a5f7d76307822bf7558386a0f Mon Sep 17 00:00:00 2001 From: Dynamic Date: Mon, 24 Oct 2022 04:38:16 +0900 Subject: [PATCH 24/52] Finalize ko_KR.json --- localizations/ko_KR.json | 44 ++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/localizations/ko_KR.json b/localizations/ko_KR.json index 6889de46..ab12c37e 100644 --- a/localizations/ko_KR.json +++ b/localizations/ko_KR.json @@ -5,10 +5,10 @@ "❮": "❮", "❯": "❯", "⤡": "⤡", - " images in this directory. Loaded ": "개의 이미지가 이 경로에 존재합니다. ", " images during ": "개의 이미지를 불러왔고, 생성 기간은 ", - ", divided into ": "입니다. ", + " images in this directory. Loaded ": "개의 이미지가 이 경로에 존재합니다. ", " pages": "페이지로 나뉘어 표시합니다.", + ", divided into ": "입니다. ", "1st and last digit must be 1. ex:'1, 2, 1'": "1st and last digit must be 1. ex:'1, 2, 1'", "[wiki]": " [위키] 참조", "A directory on the same machine where the server is running.": "WebUI 서버가 돌아가고 있는 디바이스에 존재하는 디렉토리를 선택해 주세요.", @@ -43,7 +43,10 @@ "BSRGAN 4x": "BSRGAN 4x", "built with gradio": "gradio로 제작되었습니다", "Cancel generate forever": "반복 생성 취소", + "cfg count": "CFG 변화 횟수", "CFG Scale": "CFG 스케일", + "cfg1 min/max": "CFG1 최소/최대", + "cfg2 min/max": "CFG2 최소/최대", "Check progress": "진행도 체크", "Check progress (first)": "진행도 체크 (처음)", "checkpoint": " 체크포인트 ", @@ -57,8 +60,8 @@ "CodeFormer visibility": "CodeFormer 가시성", "CodeFormer weight (0 = maximum effect, 1 = minimum effect)": "CodeFormer 가중치 (0 = 최대 효과, 1 = 최소 효과)", "CodeFormer weight parameter; 0 = maximum effect; 1 = minimum effect": "CodeFormer 가중치 설정값 (0 = 최대 효과, 1 = 최소 효과)", - "Color variation": "색깔 다양성", "Collect": "즐겨찾기", + "Color variation": "색깔 다양성", "copy": "복사", "Create a grid where images will have different parameters. Use inputs below to specify which parameters will be shared by columns and rows": "서로 다른 설정값으로 생성된 이미지의 그리드를 만듭니다. 아래의 설정으로 가로/세로에 어떤 설정값을 적용할지 선택하세요.", "Create a text file next to every image with generation parameters.": "생성된 이미지마다 생성 설정값을 담은 텍스트 파일 생성하기", @@ -89,8 +92,8 @@ "Do not save grids consisting of one picture": "이미지가 1개뿐인 그리드는 저장하지 않기", "Do not show any images in results for web": "웹에서 결과창에 아무 이미지도 보여주지 않기", "down": "아래쪽", - "Download localization template": "현지화 템플릿 다운로드", "Download": "다운로드", + "Download localization template": "현지화 템플릿 다운로드", "DPM adaptive": "DPM adaptive", "DPM fast": "DPM fast", "DPM2": "DPM2", @@ -121,6 +124,7 @@ "Existing Caption txt Action": "이미 존재하는 캡션 텍스트 처리", "Extra": "고급", "Extras": "부가기능", + "extras": "부가기능", "extras history": "부가기능 기록", "Face restoration": "얼굴 보정", "Face restoration model": "얼굴 보정 모델", @@ -155,10 +159,6 @@ "Hide samplers in user interface (requires restart)": "사용자 인터페이스에서 숨길 샘플러 선택(재시작 필요)", "Highres. fix": "고해상도 보정", "History": "기록", - "Image Browser": "이미지 브라우저", - "Images Browser": "이미지 브라우저", - "Images directory": "이미지 경로", - "extras": "부가기능", "how fast should the training go. Low values will take longer to train, high values may fail to converge (not generate accurate results) and/or may break the embedding (This has happened if you see Loss: nan in the training info textbox. If this happens, you need to manually restore your embedding from an older not-broken backup).\n\nYou can set a single numeric value, or multiple learning rates using the syntax:\n\n rate_1:max_steps_1, rate_2:max_steps_2, ...\n\nEG: 0.005:100, 1e-3:1000, 1e-5\n\nWill train with rate of 0.005 for first 100 steps, then 1e-3 until 1000 steps, then 1e-5 for all remaining steps.": "훈련이 얼마나 빨리 이루어질지 정하는 값입니다. 값이 낮을수록 훈련 시간이 길어지고, 높은 값일수록 정확한 결과를 내는 데 실패하고 임베딩을 망가뜨릴 수 있습니다(임베딩이 망가진 경우에는 훈련 정보 텍스트박스에 손실(Loss) : nan 이라고 출력되게 됩니다. 이 경우에는 망가지지 않은 이전 백업본을 불러와야 합니다).\n\n학습률은 하나의 값으로 설정할 수도 있고, 다음 문법을 사용해 여러 값을 사용할 수도 있습니다 :\n\n학습률_1:최대 스텝수_1, 학습률_2:최대 스텝수_2, ...\n\n예 : 0.005:100, 1e-3:1000, 1e-5\n\n예의 설정값은 첫 100스텝동안 0.005의 학습률로, 그 이후 1000스텝까지는 1e-3으로, 남은 스텝은 1e-5로 훈련하게 됩니다.", "How many batches of images to create": "생성할 이미지 배치 수", "How many image to create in a single batch": "한 배치당 이미지 수", @@ -175,8 +175,11 @@ "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.": "이 값이 0이 아니라면, 시드에 해당 값이 더해지고, Eta가 있는 샘플러를 사용할 때 노이즈의 RNG 조정을 위해 해당 값이 사용됩니다. 이 설정으로 더 다양한 이미지를 생성하거나, 잘 알고 계시다면 특정 소프트웨어의 결과값을 재현할 수도 있습니다.", "ignore": "무시", "Image": "이미지", + "Image Browser": "이미지 브라우저", "Image for img2img": "Image for img2img", "Image for inpainting with mask": "마스크로 인페인팅할 이미지", + "Images Browser": "이미지 브라우저", + "Images directory": "이미지 경로", "Images filename pattern": "이미지 파일명 패턴", "img2img": "이미지→이미지", "img2img alternative test": "이미지→이미지 대체버전 테스트", @@ -242,6 +245,7 @@ "Masking mode": "마스킹 모드", "Max prompt words for [prompt_words] pattern": "[prompt_words] 패턴의 최대 프롬프트 단어 수", "Max steps": "최대 스텝 수", + "Minimum number of pages per load": "한번 불러올 때마다 불러올 최소 페이지 수", "Modules": "모듈", "Move face restoration model from VRAM into RAM after processing": "처리가 완료되면 얼굴 보정 모델을 VRAM에서 RAM으로 옮기기", "Move VAE and CLIP to RAM when training hypernetwork. Saves VRAM.": "하이퍼네트워크 훈련 진행 시 VAE와 CLIP을 RAM으로 옮기기. VRAM이 절약됩니다.", @@ -254,10 +258,9 @@ "None": "없음", "Nothing": "없음", "Nothing found in the image.": "Nothing found in the image.", + "Number of grids in each row": "각 세로줄마다 표시될 그리드 수", "number of images to delete consecutively next": "연속적으로 삭제할 이미지 수", "Number of pictures displayed on each page": "각 페이지에 표시될 이미지 수", - "Minimum number of pages per load": "한번 불러올 때마다 불러올 최소 페이지 수", - "Number of grids in each row": "각 세로줄마다 표시될 그리드 수", "Number of repeats for a single input image per epoch; used only for displaying epoch number": "세대(Epoch)당 단일 인풋 이미지의 반복 횟수 - 세대(Epoch) 숫자를 표시하는 데에만 사용됩니다. ", "Number of vectors per token": "토큰별 벡터 수", "Open for Clip Aesthetic!": "클립 스타일 기능을 활성화하려면 클릭!", @@ -317,6 +320,8 @@ "Quality for saved jpeg images": "저장된 jpeg 이미지들의 품질", "Quicksettings list": "빠른 설정 리스트", "R-ESRGAN 4x+ Anime6B": "R-ESRGAN 4x+ Anime6B", + "Random": "랜덤", + "Random grid": "랜덤 그리드", "Randomness": "랜덤성", "Read generation parameters from prompt or last generation if prompt is empty into user interface.": "클립보드에 복사된 정보로부터 설정값 읽어오기/프롬프트창이 비어있을경우 제일 최근 설정값 불러오기", "Read parameters (prompt, etc...) from txt2img tab when making previews": "프리뷰 이미지 생성 시 텍스트→이미지 탭에서 설정값(프롬프트 등) 읽어오기", @@ -386,10 +391,10 @@ "Show grid in results for web": "웹에서 결과창에 그리드 보여주기", "Show image creation progress every N sampling steps. Set 0 to disable.": "N번째 샘플링 스텝마다 이미지 생성 과정 보이기 - 비활성화하려면 0으로 설정", "Show images zoomed in by default in full page image viewer": "전체 페이지 이미지 뷰어에서 기본값으로 이미지 확대해서 보여주기", + "Show previews of all images generated in a batch as a grid": "배치에서 생성된 모든 이미지의 미리보기를 그리드 형식으로 보여주기", "Show progressbar": "프로그레스 바 보이기", "Show result images": "이미지 결과 보이기", "Show Textbox": "텍스트박스 보이기", - "Show previews of all images generated in a batch as a grid": "배치에서 생성된 모든 이미지의 미리보기를 그리드 형식으로 보여주기", "Sigma adjustment for finding noise for image": "이미지 노이즈를 찾기 위해 시그마 조정", "Sigma Churn": "시그마 섞기", "sigma churn": "시그마 섞기", @@ -404,11 +409,14 @@ "Slerp interpolation": "구면 선형 보간", "Source": "원본", "Source directory": "원본 경로", - "Split image threshold": "이미지 분할 임계값", "Split image overlap ratio": "이미지 분할 겹침 비율", + "Split image threshold": "이미지 분할 임계값", "Split oversized images": "사이즈가 큰 이미지 분할하기", "Stable Diffusion": "Stable Diffusion", "Stable Diffusion checkpoint": "Stable Diffusion 체크포인트", + "step count": "스텝 변화 횟수", + "step1 min/max": "스텝1 최소/최대", + "step2 min/max": "스텝2 최소/최대", "Step:": "Step:", "Steps": "스텝 수", "Stop At last layers of CLIP model": "CLIP 모델의 n번째 레이어에서 멈추기", @@ -482,16 +490,8 @@ "Write image to a directory (default - log/images) and generation parameters into csv file.": "이미지를 경로에 저장하고, 설정값들을 csv 파일로 저장합니다. (기본 경로 - log/images)", "X type": "X축", "X values": "X 설정값", + "x/y change": "X/Y축 변경", "X/Y plot": "X/Y 플롯", "Y type": "Y축", - "Y values": "Y 설정값", - "step1 min/max": "스텝1 최소/최대", - "step2 min/max": "스텝2 최소/최대", - "step count": "스텝 변화 횟수", - "cfg1 min/max": "CFG1 최소/최대", - "cfg2 min/max": "CFG2 최소/최대", - "cfg count": "CFG 변화 횟수", - "x/y change": "X/Y축 변경", - "Random": "랜덤", - "Random grid": "랜덤 그리드" + "Y values": "Y 설정값" } \ No newline at end of file From 974196932583b96b6b76632052fc0d7e70820bf3 Mon Sep 17 00:00:00 2001 From: Vladimir Repin <32306715+mezotaken@users.noreply.github.com> Date: Sun, 23 Oct 2022 22:38:42 +0300 Subject: [PATCH 25/52] Save properly processed image before color correction --- modules/processing.py | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/modules/processing.py b/modules/processing.py index ff83023c..15b639e1 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -46,6 +46,20 @@ def apply_color_correction(correction, image): return image +def apply_overlay(overlay_exists, overlay, paste_loc, image): + if overlay_exists: + if paste_loc is not None: + x, y, w, h = paste_loc + base_image = Image.new('RGBA', (overlay.width, overlay.height)) + image = images.resize_image(1, image, w, h) + base_image.paste(image, (x, y)) + image = base_image + + image = image.convert('RGBA') + image.alpha_composite(overlay) + image = image.convert('RGB') + + return image def get_correct_sampler(p): if isinstance(p, modules.processing.StableDiffusionProcessingTxt2Img): @@ -446,25 +460,14 @@ def process_images(p: StableDiffusionProcessing) -> Processed: devices.torch_gc() image = Image.fromarray(x_sample) - + if p.color_corrections is not None and i < len(p.color_corrections): if opts.save and not p.do_not_save_samples and opts.save_images_before_color_correction: - images.save_image(image, p.outpath_samples, "", seeds[i], prompts[i], opts.samples_format, info=infotext(n, i), p=p, suffix="-before-color-correction") + image_without_cc = apply_overlay(p.overlay_images is not None and i < len(p.overlay_images), p.overlay_images[i], p.paste_to, image) + images.save_image(image_without_cc, p.outpath_samples, "", seeds[i], prompts[i], opts.samples_format, info=infotext(n, i), p=p, suffix="-before-color-correction") image = apply_color_correction(p.color_corrections[i], image) - if p.overlay_images is not None and i < len(p.overlay_images): - overlay = p.overlay_images[i] - - if p.paste_to is not None: - x, y, w, h = p.paste_to - base_image = Image.new('RGBA', (overlay.width, overlay.height)) - image = images.resize_image(1, image, w, h) - base_image.paste(image, (x, y)) - image = base_image - - image = image.convert('RGBA') - image.alpha_composite(overlay) - image = image.convert('RGB') + image = apply_overlay(p.overlay_images is not None and i < len(p.overlay_images), p.overlay_images[i], p.paste_to, image) if opts.samples_save and not p.do_not_save_samples: images.save_image(image, p.outpath_samples, "", seeds[i], prompts[i], opts.samples_format, info=infotext(n, i), p=p) From f2cc3f32d5bc8538e95edec54d7dc1b9efdf769a Mon Sep 17 00:00:00 2001 From: Vladimir Repin <32306715+mezotaken@users.noreply.github.com> Date: Sun, 23 Oct 2022 22:44:46 +0300 Subject: [PATCH 26/52] fix whitespaces --- modules/processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/processing.py b/modules/processing.py index 15b639e1..2a332514 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -460,7 +460,7 @@ def process_images(p: StableDiffusionProcessing) -> Processed: devices.torch_gc() image = Image.fromarray(x_sample) - + if p.color_corrections is not None and i < len(p.color_corrections): if opts.save and not p.do_not_save_samples and opts.save_images_before_color_correction: image_without_cc = apply_overlay(p.overlay_images is not None and i < len(p.overlay_images), p.overlay_images[i], p.paste_to, image) From b297cc3324979ec78d69b2d11dd18030dfad7bcc Mon Sep 17 00:00:00 2001 From: AngelBottomless <35677394+aria1th@users.noreply.github.com> Date: Sun, 23 Oct 2022 20:06:42 +0900 Subject: [PATCH 27/52] Hypernetworks - fix KeyError in statistics caching Statistics logging has changed to {filename : list[losses]}, so it has to use loss_info[key].pop() --- modules/hypernetworks/hypernetwork.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/hypernetworks/hypernetwork.py b/modules/hypernetworks/hypernetwork.py index 98a7b62e..33827210 100644 --- a/modules/hypernetworks/hypernetwork.py +++ b/modules/hypernetworks/hypernetwork.py @@ -274,8 +274,8 @@ def log_statistics(loss_info:dict, key, value): loss_info[key] = [value] else: loss_info[key].append(value) - if len(loss_info) > 1024: - loss_info.pop(0) + if len(loss_info[key]) > 1024: + loss_info[key].pop(0) def statistics(data): From 40b56c9289bf9458ae5ef3c1990ccea851c6c3e2 Mon Sep 17 00:00:00 2001 From: AngelBottomless <35677394+aria1th@users.noreply.github.com> Date: Sun, 23 Oct 2022 21:07:07 +0900 Subject: [PATCH 28/52] cleanup some code --- modules/hypernetworks/hypernetwork.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/modules/hypernetworks/hypernetwork.py b/modules/hypernetworks/hypernetwork.py index 33827210..4072bf54 100644 --- a/modules/hypernetworks/hypernetwork.py +++ b/modules/hypernetworks/hypernetwork.py @@ -16,6 +16,7 @@ from modules.textual_inversion import textual_inversion from modules.textual_inversion.learn_schedule import LearnRateScheduler from torch import einsum +from collections import defaultdict, deque from statistics import stdev, mean class HypernetworkModule(torch.nn.Module): @@ -269,15 +270,6 @@ def stack_conds(conds): return torch.stack(conds) -def log_statistics(loss_info:dict, key, value): - if key not in loss_info: - loss_info[key] = [value] - else: - loss_info[key].append(value) - if len(loss_info[key]) > 1024: - loss_info[key].pop(0) - - def statistics(data): total_information = f"loss:{mean(data):.3f}"+u"\u00B1"+f"({stdev(data)/ (len(data)**0.5):.3f})" recent_data = data[-32:] @@ -341,7 +333,7 @@ def train_hypernetwork(hypernetwork_name, learn_rate, batch_size, data_root, log weight.requires_grad = True size = len(ds.indexes) - loss_dict = {} + loss_dict = defaultdict(lambda : deque(maxlen = 1024)) losses = torch.zeros((size,)) previous_mean_loss = 0 print("Mean loss of {} elements".format(size)) @@ -383,7 +375,7 @@ def train_hypernetwork(hypernetwork_name, learn_rate, batch_size, data_root, log losses[hypernetwork.step % losses.shape[0]] = loss.item() for entry in entries: - log_statistics(loss_dict, entry.filename, loss.item()) + loss_dict[entry.filename].append(loss.item()) optimizer.zero_grad() weights[0].grad = None From 348f89c8d40397c1875cff4a7331018785f9c3b8 Mon Sep 17 00:00:00 2001 From: AngelBottomless <35677394+aria1th@users.noreply.github.com> Date: Sun, 23 Oct 2022 21:29:53 +0900 Subject: [PATCH 29/52] statistics for pbar --- modules/hypernetworks/hypernetwork.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/hypernetworks/hypernetwork.py b/modules/hypernetworks/hypernetwork.py index 4072bf54..48b56029 100644 --- a/modules/hypernetworks/hypernetwork.py +++ b/modules/hypernetworks/hypernetwork.py @@ -335,6 +335,7 @@ def train_hypernetwork(hypernetwork_name, learn_rate, batch_size, data_root, log size = len(ds.indexes) loss_dict = defaultdict(lambda : deque(maxlen = 1024)) losses = torch.zeros((size,)) + previous_mean_losses = [0] previous_mean_loss = 0 print("Mean loss of {} elements".format(size)) @@ -356,7 +357,8 @@ def train_hypernetwork(hypernetwork_name, learn_rate, batch_size, data_root, log for i, entries in pbar: hypernetwork.step = i + ititial_step if len(loss_dict) > 0: - previous_mean_loss = sum(i[-1] for i in loss_dict.values()) / len(loss_dict) + previous_mean_losses = [i[-1] for i in loss_dict.values()] + previous_mean_loss = mean(previous_mean_losses) scheduler.apply(optimizer, hypernetwork.step) if scheduler.finished: @@ -391,7 +393,13 @@ def train_hypernetwork(hypernetwork_name, learn_rate, batch_size, data_root, log if torch.isnan(losses[hypernetwork.step % losses.shape[0]]): raise RuntimeError("Loss diverged.") - pbar.set_description(f"dataset loss: {previous_mean_loss:.7f}") + + if len(previous_mean_losses) > 1: + std = stdev(previous_mean_losses) + else: + std = 0 + dataset_loss_info = f"dataset loss:{mean(previous_mean_losses):.3f}" + u"\u00B1" + f"({std / (len(previous_mean_losses) ** 0.5):.3f})" + pbar.set_description(dataset_loss_info) if hypernetwork.step > 0 and hypernetwork_dir is not None and hypernetwork.step % save_hypernetwork_every == 0: # Before saving, change name to match current checkpoint. From 0d2e1dac407a0e2f5b148d314715f0457b2525b7 Mon Sep 17 00:00:00 2001 From: AngelBottomless <35677394+aria1th@users.noreply.github.com> Date: Sun, 23 Oct 2022 21:41:39 +0900 Subject: [PATCH 30/52] convert deque -> list I don't feel this being efficient --- modules/hypernetworks/hypernetwork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hypernetworks/hypernetwork.py b/modules/hypernetworks/hypernetwork.py index 48b56029..fb510fa7 100644 --- a/modules/hypernetworks/hypernetwork.py +++ b/modules/hypernetworks/hypernetwork.py @@ -282,7 +282,7 @@ def report_statistics(loss_info:dict): for key in keys: try: print("Loss statistics for file " + key) - info, recent = statistics(loss_info[key]) + info, recent = statistics(list(loss_info[key])) print(info) print(recent) except Exception as e: From e9a410b5357612f63528015c5533c2185dcff92e Mon Sep 17 00:00:00 2001 From: AngelBottomless <35677394+aria1th@users.noreply.github.com> Date: Sun, 23 Oct 2022 21:47:39 +0900 Subject: [PATCH 31/52] check length for variance --- modules/hypernetworks/hypernetwork.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/hypernetworks/hypernetwork.py b/modules/hypernetworks/hypernetwork.py index fb510fa7..d647ea55 100644 --- a/modules/hypernetworks/hypernetwork.py +++ b/modules/hypernetworks/hypernetwork.py @@ -271,9 +271,17 @@ def stack_conds(conds): def statistics(data): - total_information = f"loss:{mean(data):.3f}"+u"\u00B1"+f"({stdev(data)/ (len(data)**0.5):.3f})" + if len(data) < 2: + std = 0 + else: + std = stdev(data) + total_information = f"loss:{mean(data):.3f}" + u"\u00B1" + f"({std/ (len(data) ** 0.5):.3f})" recent_data = data[-32:] - recent_information = f"recent 32 loss:{mean(recent_data):.3f}"+u"\u00B1"+f"({stdev(recent_data)/ (len(recent_data)**0.5):.3f})" + if len(recent_data) < 2: + std = 0 + else: + std = stdev(recent_data) + recent_information = f"recent 32 loss:{mean(recent_data):.3f}" + u"\u00B1" + f"({std / (len(recent_data) ** 0.5):.3f})" return total_information, recent_information From 6cbb04f7a5e675cf1f6dfc247aa9c9e8df7dc5ce Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Mon, 24 Oct 2022 09:15:26 +0300 Subject: [PATCH 32/52] fix #3517 breaking txt2img --- modules/processing.py | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/modules/processing.py b/modules/processing.py index 2a332514..c61bbfbd 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -46,18 +46,23 @@ def apply_color_correction(correction, image): return image -def apply_overlay(overlay_exists, overlay, paste_loc, image): - if overlay_exists: - if paste_loc is not None: - x, y, w, h = paste_loc - base_image = Image.new('RGBA', (overlay.width, overlay.height)) - image = images.resize_image(1, image, w, h) - base_image.paste(image, (x, y)) - image = base_image - image = image.convert('RGBA') - image.alpha_composite(overlay) - image = image.convert('RGB') +def apply_overlay(image, paste_loc, index, overlays): + if overlays is None or index >= len(overlays): + return image + + overlay = overlays[index] + + if paste_loc is not None: + x, y, w, h = paste_loc + base_image = Image.new('RGBA', (overlay.width, overlay.height)) + image = images.resize_image(1, image, w, h) + base_image.paste(image, (x, y)) + image = base_image + + image = image.convert('RGBA') + image.alpha_composite(overlay) + image = image.convert('RGB') return image @@ -463,11 +468,11 @@ def process_images(p: StableDiffusionProcessing) -> Processed: if p.color_corrections is not None and i < len(p.color_corrections): if opts.save and not p.do_not_save_samples and opts.save_images_before_color_correction: - image_without_cc = apply_overlay(p.overlay_images is not None and i < len(p.overlay_images), p.overlay_images[i], p.paste_to, image) + image_without_cc = apply_overlay(image, p.paste_to, i, p.overlay_images) images.save_image(image_without_cc, p.outpath_samples, "", seeds[i], prompts[i], opts.samples_format, info=infotext(n, i), p=p, suffix="-before-color-correction") image = apply_color_correction(p.color_corrections[i], image) - image = apply_overlay(p.overlay_images is not None and i < len(p.overlay_images), p.overlay_images[i], p.paste_to, image) + image = apply_overlay(image, p.paste_to, i, p.overlay_images) if opts.samples_save and not p.do_not_save_samples: images.save_image(image, p.outpath_samples, "", seeds[i], prompts[i], opts.samples_format, info=infotext(n, i), p=p) From c6459986cb98211565c5a4d7596f9617e82b6d12 Mon Sep 17 00:00:00 2001 From: Kris57 <49682577+yuuki76@users.noreply.github.com> Date: Sun, 23 Oct 2022 02:41:17 +0900 Subject: [PATCH 33/52] update ja translation --- localizations/ja_JP.json | 91 ++++++++++++++++++++++++++++++++++------ 1 file changed, 78 insertions(+), 13 deletions(-) diff --git a/localizations/ja_JP.json b/localizations/ja_JP.json index 514b579e..f9987473 100644 --- a/localizations/ja_JP.json +++ b/localizations/ja_JP.json @@ -14,9 +14,10 @@ "img2img": "img2img", "Extras": "その他", "PNG Info": "PNG内の情報を表示", - "History": "履歴", + "Image Browser": "画像閲覧", "Checkpoint Merger": "Checkpointの統合", "Train": "学習", + "Create aesthetic embedding": "Create aesthetic embedding", "Settings": "設定", "Prompt": "プロンプト", "Negative prompt": "ネガティブ プロンプト", @@ -67,8 +68,18 @@ "Variation strength": "Variation 強度", "Resize seed from width": "Resize seed from width", "Resize seed from height": "Resize seed from height", - "Script": "スクリプト", + "Open for Clip Aesthetic!": "Open for Clip Aesthetic!", + "▼": "▼", + "Aesthetic weight": "Aesthetic weight", + "Aesthetic steps": "Aesthetic steps", + "Aesthetic learning rate": "Aesthetic learning rate", + "Slerp interpolation": "Slerp interpolation", + "Aesthetic imgs embedding": "Aesthetic imgs embedding", "None": "なし", + "Aesthetic text for imgs": "Aesthetic text for imgs", + "Slerp angle": "Slerp angle", + "Is negative text": "Is negative text", + "Script": "スクリプト", "Prompt matrix": "Prompt matrix", "Prompts from file or textbox": "Prompts from file or textbox", "X/Y plot": "X/Y plot", @@ -76,6 +87,7 @@ "Show Textbox": "Show Textbox", "File with inputs": "File with inputs", "Prompts": "プロンプト", + "Save images to path": "Save images to path", "X type": "X軸の種類", "Nothing": "なし", "Var. seed": "Var. seed", @@ -86,7 +98,7 @@ "Sampler": "サンプラー", "Checkpoint name": "Checkpoint名", "Hypernetwork": "Hypernetwork", - "Hypernet str.": "Hypernet強度", + "Hypernet str.": "Hypernetの強度", "Sigma Churn": "Sigma Churn", "Sigma min": "Sigma min", "Sigma max": "Sigma max", @@ -141,6 +153,7 @@ "Outpainting mk2": "Outpainting mk2", "Poor man's outpainting": "Poor man's outpainting", "SD upscale": "SD アップスケール", + "[C] Video to video": "[C] Video to video", "should be 2 or lower.": "2以下にすること", "Override `Sampling method` to Euler?(this method is built for it)": "サンプリングアルゴリズムをEulerに上書きする(そうすることを前提に設計されています)", "Override `prompt` to the same value as `original prompt`?(and `negative prompt`)": "Override `prompt` to the same value as `original prompt`?(and `negative prompt`)", @@ -170,9 +183,22 @@ "LDSR": "LDSR", "BSRGAN 4x": "BSRGAN 4x", "ESRGAN_4x": "ESRGAN_4x", + "R-ESRGAN General 4xV3": "R-ESRGAN General 4xV3", + "R-ESRGAN General WDN 4xV3": "R-ESRGAN General WDN 4xV3", + "R-ESRGAN AnimeVideo": "R-ESRGAN AnimeVideo", + "R-ESRGAN 4x+": "R-ESRGAN 4x+", + "R-ESRGAN 4x+ Anime6B": "R-ESRGAN 4x+ Anime6B", + "R-ESRGAN 2x+": "R-ESRGAN 2x+", "ScuNET GAN": "ScuNET GAN", "ScuNET PSNR": "ScuNET PSNR", "SwinIR 4x": "SwinIR 4x", + "Input file path": "Input file path", + "CRF (quality, less is better, x264 param)": "CRF (quality, less is better, x264 param)", + "FPS": "FPS", + "Seed step size": "Seed step size", + "Seed max distance": "Seed max distance", + "Start time": "Start time", + "End time": "End time", "Single Image": "単一画像", "Batch Process": "バッチ処理", "Batch from Directory": "フォルダからバッチ処理", @@ -182,17 +208,18 @@ "Scale to": "解像度指定", "Resize": "倍率", "Crop to fit": "合うように切り抜き", - "Upscaler 2": "アップスケーラー 2", "Upscaler 2 visibility": "Upscaler 2 visibility", "GFPGAN visibility": "GFPGAN visibility", "CodeFormer visibility": "CodeFormer visibility", "CodeFormer weight (0 = maximum effect, 1 = minimum effect)": "CodeFormer weight (0 = maximum effect, 1 = minimum effect)", "Open output directory": "出力フォルダを開く", "Send to txt2img": "txt2imgに送る", - "txt2img history": "txt2imgの履歴", - "img2img history": "img2imgの履歴", - "extras history": "その他タブの履歴", - "Renew Page": "更新", + "extras": "その他タブ", + "favorites": "お気に入り", + "Load": "読み込み", + "Images directory": "フォルダ", + "Prev batch": "前の batch", + "Next batch": "次の batch", "First Page": "最初のぺージへ", "Prev Page": "前ページへ", "Page Index": "ページ番号", @@ -202,7 +229,12 @@ "Delete": "削除", "Generate Info": "生成情報", "File Name": "ファイル名", + "Collect": "保存(お気に入り)", + "Refresh page": "Refresh page", + "Date to": "Date to", + "Number": "Number", "set_index": "set_index", + "Checkbox": "Checkbox", "A merger of the two checkpoints will be generated in your": "統合されたチェックポイントはあなたの", "checkpoint": "checkpoint", "directory.": "フォルダに保存されます.", @@ -224,17 +256,37 @@ "Name": "ファイル名", "Initialization text": "Initialization text", "Number of vectors per token": "Number of vectors per token", + "Overwrite Old Embedding": "Overwrite Old Embedding", "Modules": "Modules", + "Enter hypernetwork layer structure": "Enter hypernetwork layer structure", + "Select activation function of hypernetwork": "Select activation function of hypernetwork", + "linear": "linear", + "relu": "relu", + "leakyrelu": "leakyrelu", + "elu": "elu", + "swish": "swish", + "Add layer normalization": "Add layer normalization", + "Use dropout": "Use dropout", + "Overwrite Old Hypernetwork": "Overwrite Old Hypernetwork", "Source directory": "入力フォルダ", "Destination directory": "出力フォルダ", + "Existing Caption txt Action": "Existing Caption txt Action", + "ignore": "ignore", + "copy": "copy", + "prepend": "prepend", + "append": "append", "Create flipped copies": "反転画像を生成する", - "Split oversized images into two": "大きすぎる画像を2分割する", + "Split oversized images": "大きすぎる画像を分割する", "Use BLIP for caption": "BLIPで説明をつける", "Use deepbooru for caption": "deepbooruで説明をつける", + "Split image threshold": "分割する大きさの閾値", + "Split image overlap ratio": "Split image overlap ratio", "Preprocess": "前処理開始", - "Train an embedding; must specify a directory with a set of 1:1 ratio images": "embeddingの学習をします;データセット内の画像は正方形でなければなりません。", + "Train an embedding or Hypernetwork; you must specify a directory with a set of 1:1 ratio images": "Train an embedding or Hypernetwork; you must specify a directory with a set of 1:1 ratio images", + "[wiki]": "[wiki]", "Embedding": "Embedding", - "Learning rate": "学習率", + "Embedding Learning rate": "Embedding Learning rate", + "Hypernetwork Learning rate": "Hypernetwork Learning rate", "Dataset directory": "データセットフォルダ", "Log directory": "ログフォルダ", "Prompt template file": "Prompt template file", @@ -245,6 +297,8 @@ "Read parameters (prompt, etc...) from txt2img tab when making previews": "Read parameters (prompt, etc...) from txt2img tab when making previews", "Train Hypernetwork": "Hypernetworkの学習を開始", "Train Embedding": "Embeddingの学習を開始", + "Create an aesthetic embedding out of any number of images": "Create an aesthetic embedding out of any number of images", + "Create images embedding": "Create images embedding", "Apply settings": "Apply settings", "Saving images/grids": "画像/グリッドの保存", "Always save all generated images": "生成された画像をすべて保存する", @@ -295,7 +349,7 @@ "Always print all generation info to standard output": "常にすべての生成に関する情報を標準出力(stdout)に出力する", "Add a second progress bar to the console that shows progress for an entire job.": "Add a second progress bar to the console that shows progress for an entire job.", "Training": "学習", - "Unload VAE and CLIP from VRAM when training": "学習を行う際、VAEとCLIPをVRAMから削除する", + "Move VAE and CLIP to RAM when training hypernetwork. Saves VRAM.": "hypernetworkの学習をするとき、VAEとCLIPをRAMへ退避します。VRAMが節約できます。", "Filename word regex": "Filename word regex", "Filename join string": "Filename join string", "Number of repeats for a single input image per epoch; used only for displaying epoch number": "Number of repeats for a single input image per epoch; used only for displaying epoch number", @@ -332,6 +386,7 @@ "Do not show any images in results for web": "WebUI上で一切画像を表示しない", "Add model hash to generation information": "モデルのハッシュ値を生成情報に追加", "Add model name to generation information": "モデルの名称を生成情報に追加", + "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.": "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.", "Font for image grids that have text": "画像グリッド内のテキストフォント", "Enable full page image viewer": "フルページの画像ビューワーを有効化", "Show images zoomed in by default in full page image viewer": "フルページ画像ビューアでデフォルトで画像を拡大して表示する", @@ -350,10 +405,16 @@ "sigma tmin": "sigma tmin", "sigma noise": "sigma noise", "Eta noise seed delta": "Eta noise seed delta", + "Images Browser": "画像閲覧", + "Preload images at startup": "起動時に画像を読み込んでおく", + "Number of pictures displayed on each page": "各ページに表示される画像の枚数", + "Minimum number of pages per load": "Minimum number of pages per load", + "Number of grids in each row": "Number of grids in each row", "Request browser notifications": "ブラウザ通知の許可を要求する", "Download localization template": "ローカライゼーション用のテンプレートをダウンロードする", "Reload custom script bodies (No ui updates, No restart)": "カスタムスクリプトを再読み込み (UIは変更されず、再起動もしません。)", "Restart Gradio and Refresh components (Custom Scripts, ui.py, js and css only)": "Gradioを再起動してコンポーネントをリフレッシュする (Custom Scripts, ui.py, js, cssのみ影響を受ける)", + "Audio": "Audio", "Prompt (press Ctrl+Enter or Alt+Enter to generate)": "プロンプト (Ctrl+Enter か Alt+Enter を押して生成)", "Negative prompt (press Ctrl+Enter or Alt+Enter to generate)": "ネガティブ プロンプト (Ctrl+Enter か Alt+Enter を押して生成)", "Add a random artist to the prompt.": "芸術家などの名称をプロンプトに追加", @@ -379,6 +440,7 @@ "Seed of a different picture to be mixed into the generation.": "Seed of a different picture to be mixed into the generation.", "How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).": "How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).", "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution", + "This text is used to rotate the feature space of the imgs embs": "This text is used to rotate the feature space of the imgs embs", "Separate values for X axis using commas.": "X軸に用いる値をカンマ(,)で区切って入力してください。", "Separate values for Y axis using commas.": "Y軸に用いる値をカンマ(,)で区切って入力してください。", "Write image to a directory (default - log/images) and generation parameters into csv file.": "Write image to a directory (default - log/images) and generation parameters into csv file.", @@ -398,8 +460,10 @@ "For SD upscale, how much overlap in pixels should there be between tiles. Tiles overlap so that when they are merged back into one picture, there is no clearly visible seam.": "For SD upscale, how much overlap in pixels should there be between tiles. Tiles overlap so that when they are merged back into one picture, there is no clearly visible seam.", "A directory on the same machine where the server is running.": "A directory on the same machine where the server is running.", "Leave blank to save images to the default path.": "空欄でデフォルトの場所へ画像を保存", + "Input images directory": "Input images directory", "Result = A * (1 - M) + B * M": "結果モデル = A * (1 - M) + B * M", "Result = A + (B - C) * M": "結果モデル = A + (B - C) * M", + "1st and last digit must be 1. ex:'1, 2, 1'": "1st and last digit must be 1. ex:'1, 2, 1'", "Path to directory with input images": "Path to directory with input images", "Path to directory where to write outputs": "Path to directory where to write outputs", "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.", @@ -409,5 +473,6 @@ "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.": "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.", "This string will be used to join split words into a single line if the option above is enabled.": "This string will be used to join split words into a single line if the option above is enabled.", "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.": "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.", - "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.": "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing." + "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.": "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.", + "Enable Autocomplete": "自動補完を有効化" } \ No newline at end of file From a921badac3df177ab4bd8f6469dceb0342269cb7 Mon Sep 17 00:00:00 2001 From: Kris57 <49682577+yuuki76@users.noreply.github.com> Date: Sun, 23 Oct 2022 18:12:21 +0900 Subject: [PATCH 34/52] update ja translation --- localizations/ja_JP.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localizations/ja_JP.json b/localizations/ja_JP.json index f9987473..a790b0a6 100644 --- a/localizations/ja_JP.json +++ b/localizations/ja_JP.json @@ -366,7 +366,7 @@ "Make K-diffusion samplers produce same images in a batch as when making a single image": "Make K-diffusion samplers produce same images in a batch as when making a single image", "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens": "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens", "Filter NSFW content": "NSFW(≒R-18)なコンテンツを検閲する", - "Stop At last layers of CLIP model": "最後から何層目でCLIPを止めるか(stop…layers of CLIP model)", + "Stop At last layers of CLIP model": "最後から何層目でCLIPを止めるか", "Interrogate Options": "Interrogate 設定", "Interrogate: keep models in VRAM": "Interrogate: モデルをVRAMに保持する", "Interrogate: use artists from artists.csv": "Interrogate: artists.csvにある芸術家などの名称を利用する", From e33a05f263ff39f2750e4aa51b04d463c55cea4c Mon Sep 17 00:00:00 2001 From: Kris57 <49682577+yuuki76@users.noreply.github.com> Date: Sun, 23 Oct 2022 21:16:44 +0900 Subject: [PATCH 35/52] update ja translation --- localizations/ja_JP.json | 209 ++++++++++++++++++++------------------- 1 file changed, 108 insertions(+), 101 deletions(-) diff --git a/localizations/ja_JP.json b/localizations/ja_JP.json index a790b0a6..741875c3 100644 --- a/localizations/ja_JP.json +++ b/localizations/ja_JP.json @@ -10,6 +10,7 @@ "•": "•", "gradioで作ろう": "gradioで作ろう", "Stable Diffusion checkpoint": "Stable Diffusion checkpoint", + "Stop At last layers of CLIP model": "最後から何層目でCLIPを止めるか", "txt2img": "txt2img", "img2img": "img2img", "Extras": "その他", @@ -17,7 +18,7 @@ "Image Browser": "画像閲覧", "Checkpoint Merger": "Checkpointの統合", "Train": "学習", - "Create aesthetic embedding": "Create aesthetic embedding", + "Create aesthetic embedding": "aesthetic embeddingを作る", "Settings": "設定", "Prompt": "プロンプト", "Negative prompt": "ネガティブ プロンプト", @@ -58,7 +59,7 @@ "Highres. fix": "高解像度 fix(マウスオーバーで詳細)", "Firstpass width": "Firstpass width", "Firstpass height": "Firstpass height", - "Denoising strength": "ノイズ除去 強度", + "Denoising strength": "ノイズ除去強度", "Batch count": "バッチ生成回数", "Batch size": "バッチあたり生成枚数", "CFG Scale": "CFG Scale", @@ -80,13 +81,17 @@ "Slerp angle": "Slerp angle", "Is negative text": "Is negative text", "Script": "スクリプト", + "nai2SD Prompt Converter": "nai2SD Prompt Converter", "Prompt matrix": "Prompt matrix", "Prompts from file or textbox": "Prompts from file or textbox", + "Save steps of the sampling process to files": "Save steps of the sampling process to files", "X/Y plot": "X/Y plot", + "Prompts": "プロンプト", + "convert": "convert", + "Converted Prompts": "Converted Prompts", "Put variable parts at start of prompt": "Put variable parts at start of prompt", "Show Textbox": "Show Textbox", "File with inputs": "File with inputs", - "Prompts": "プロンプト", "Save images to path": "Save images to path", "X type": "X軸の種類", "Nothing": "なし", @@ -125,23 +130,23 @@ "Batch img2img": "Batch img2img", "Image for img2img": "Image for img2img", "Image for inpainting with mask": "Image for inpainting with mask", - "Mask": "Mask", - "Mask blur": "Mask blur", - "Mask mode": "Mask mode", - "Draw mask": "Draw mask", - "Upload mask": "Upload mask", - "Masking mode": "Masking mode", - "Inpaint masked": "Inpaint masked", - "Inpaint not masked": "Inpaint not masked", - "Masked content": "Masked content", - "fill": "fill", + "Mask": "マスク", + "Mask blur": "マスクぼかし", + "Mask mode": "マスクモード", + "Draw mask": "マスクをかける", + "Upload mask": "マスクをアップロードする", + "Masking mode": "マスキング方法", + "Inpaint masked": "マスクされた場所を描き直す", + "Inpaint not masked": "マスクされていない場所を描き直す", + "Masked content": "マスクされたコンテンツ", + "fill": "埋める", "original": "オリジナル", - "latent noise": "latent noise", - "latent nothing": "latent nothing", - "Inpaint at full resolution": "Inpaint at full resolution", - "Inpaint at full resolution padding, pixels": "Inpaint at full resolution padding, pixels", - "Process images in a directory on the same machine where the server is running.": "Process images in a directory on the same machine where the server is running.", - "Use an empty output directory to save pictures normally instead of writing to the output directory.": "Use an empty output directory to save pictures normally instead of writing to the output directory.", + "latent noise": "潜在空間でのノイズ", + "latent nothing": "潜在空間での無", + "Inpaint at full resolution": "フル解像度で描き直す", + "Inpaint at full resolution padding, pixels": "フル解像度で描き直す際のパディング数。px単位。", + "Process images in a directory on the same machine where the server is running.": "サーバーが稼働しているマシンと同じフォルダにある画像を処理します", + "Use an empty output directory to save pictures normally instead of writing to the output directory.": "\"出力フォルダ\"を空にすると、通常の画像と同様に保存されます。", "Input directory": "入力フォルダ", "Output directory": "出力フォルダ", "Resize mode": "リサイズモード", @@ -156,18 +161,18 @@ "[C] Video to video": "[C] Video to video", "should be 2 or lower.": "2以下にすること", "Override `Sampling method` to Euler?(this method is built for it)": "サンプリングアルゴリズムをEulerに上書きする(そうすることを前提に設計されています)", - "Override `prompt` to the same value as `original prompt`?(and `negative prompt`)": "Override `prompt` to the same value as `original prompt`?(and `negative prompt`)", - "Original prompt": "Original prompt", - "Original negative prompt": "Original negative prompt", - "Override `Sampling Steps` to the same value as `Decode steps`?": "Override `Sampling Steps` to the same value as `Decode steps`?", - "Decode steps": "Decode steps", - "Override `Denoising strength` to 1?": "Override `Denoising strength` to 1?", + "Override `prompt` to the same value as `original prompt`?(and `negative prompt`)": "プロンプトをオリジナルプロンプトと同じ値に上書きする(ネガティブプロンプトも同様)", + "Original prompt": "オリジナルのプロンプト", + "Original negative prompt": "オリジナルのネガティブプロンプト", + "Override `Sampling Steps` to the same value as `Decode steps`?": "サンプリング数をデコードステップ数と同じ値に上書きする", + "Decode steps": "デコードステップ数", + "Override `Denoising strength` to 1?": "ノイズ除去強度を1に上書きする", "Decode CFG scale": "Decode CFG scale", - "Randomness": "Randomness", + "Randomness": "ランダム性", "Sigma adjustment for finding noise for image": "Sigma adjustment for finding noise for image", - "Loops": "Loops", + "Loops": "ループ数", "Denoising strength change factor": "Denoising strength change factor", - "Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8": "Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8", + "Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8": "推奨設定: サンプリング回数: 80-100, サンプリングアルゴリズム: Euler a, ノイズ除去強度: 0.8", "Pixels to expand": "Pixels to expand", "Outpainting direction": "Outpainting direction", "left": "左", @@ -181,7 +186,6 @@ "Upscaler": "アップスケーラー", "Lanczos": "Lanczos", "LDSR": "LDSR", - "BSRGAN 4x": "BSRGAN 4x", "ESRGAN_4x": "ESRGAN_4x", "R-ESRGAN General 4xV3": "R-ESRGAN General 4xV3", "R-ESRGAN General WDN 4xV3": "R-ESRGAN General WDN 4xV3", @@ -211,7 +215,7 @@ "Upscaler 2 visibility": "Upscaler 2 visibility", "GFPGAN visibility": "GFPGAN visibility", "CodeFormer visibility": "CodeFormer visibility", - "CodeFormer weight (0 = maximum effect, 1 = minimum effect)": "CodeFormer weight (0 = maximum effect, 1 = minimum effect)", + "CodeFormer weight (0 = maximum effect, 1 = minimum effect)": "CodeFormerの重み (注:0で最大、1で最小)", "Open output directory": "出力フォルダを開く", "Send to txt2img": "txt2imgに送る", "extras": "その他タブ", @@ -225,12 +229,12 @@ "Page Index": "ページ番号", "Next Page": "次ページへ", "End Page": "最後のページへ", - "number of images to delete consecutively next": "number of images to delete consecutively next", + "number of images to delete consecutively next": "次の削除で一度に削除する画像数", "Delete": "削除", "Generate Info": "生成情報", "File Name": "ファイル名", "Collect": "保存(お気に入り)", - "Refresh page": "Refresh page", + "Refresh page": "ページを更新", "Date to": "Date to", "Number": "Number", "set_index": "set_index", @@ -253,13 +257,13 @@ "Create embedding": "Embeddingを作る", "Create hypernetwork": "Hypernetworkを作る", "Preprocess images": "画像の前処理", - "Name": "ファイル名", + "Name": "名称", "Initialization text": "Initialization text", "Number of vectors per token": "Number of vectors per token", - "Overwrite Old Embedding": "Overwrite Old Embedding", - "Modules": "Modules", - "Enter hypernetwork layer structure": "Enter hypernetwork layer structure", - "Select activation function of hypernetwork": "Select activation function of hypernetwork", + "Overwrite Old Embedding": "古いEmbeddingを上書き", + "Modules": "モジュール", + "Enter hypernetwork layer structure": "Hypernetworkのレイヤー構造を入力", + "Select activation function of hypernetwork": "Hypernetworkの活性化関数", "linear": "linear", "relu": "relu", "leakyrelu": "leakyrelu", @@ -267,14 +271,14 @@ "swish": "swish", "Add layer normalization": "Add layer normalization", "Use dropout": "Use dropout", - "Overwrite Old Hypernetwork": "Overwrite Old Hypernetwork", + "Overwrite Old Hypernetwork": "古いHypernetworkを上書きする", "Source directory": "入力フォルダ", "Destination directory": "出力フォルダ", - "Existing Caption txt Action": "Existing Caption txt Action", - "ignore": "ignore", - "copy": "copy", - "prepend": "prepend", - "append": "append", + "Existing Caption txt Action": "既存のキャプションの取り扱い", + "ignore": "無視する", + "copy": "コピーする", + "prepend": "先頭に加える", + "append": "末尾に加える", "Create flipped copies": "反転画像を生成する", "Split oversized images": "大きすぎる画像を分割する", "Use BLIP for caption": "BLIPで説明をつける", @@ -282,24 +286,24 @@ "Split image threshold": "分割する大きさの閾値", "Split image overlap ratio": "Split image overlap ratio", "Preprocess": "前処理開始", - "Train an embedding or Hypernetwork; you must specify a directory with a set of 1:1 ratio images": "Train an embedding or Hypernetwork; you must specify a directory with a set of 1:1 ratio images", + "Train an embedding or Hypernetwork; you must specify a directory with a set of 1:1 ratio images": "EmbeddingまたはHypernetworkを学習します。1:1の比率の画像セットを含むフォルダを指定する必要があります。", "[wiki]": "[wiki]", "Embedding": "Embedding", - "Embedding Learning rate": "Embedding Learning rate", - "Hypernetwork Learning rate": "Hypernetwork Learning rate", + "Embedding Learning rate": "Embeddingの学習率(Learning rate)", + "Hypernetwork Learning rate": "Hypernetworkの学習率(Learning rate)", "Dataset directory": "データセットフォルダ", "Log directory": "ログフォルダ", - "Prompt template file": "Prompt template file", + "Prompt template file": "プロンプトのテンプレートファイル", "Max steps": "最大ステップ数", "Save an image to log directory every N steps, 0 to disable": "指定したステップ数ごとに画像を生成し、ログに保存する。0で無効化。", "Save a copy of embedding to log directory every N steps, 0 to disable": "指定したステップ数ごとにEmbeddingのコピーをログに保存する。0で無効化。", "Save images with embedding in PNG chunks": "保存する画像にembeddingを埋め込む", - "Read parameters (prompt, etc...) from txt2img tab when making previews": "Read parameters (prompt, etc...) from txt2img tab when making previews", + "Read parameters (prompt, etc...) from txt2img tab when making previews": "プレビューの作成にtxt2imgタブから読み込んだパラメータ(プロンプトなど)を使う", "Train Hypernetwork": "Hypernetworkの学習を開始", "Train Embedding": "Embeddingの学習を開始", "Create an aesthetic embedding out of any number of images": "Create an aesthetic embedding out of any number of images", "Create images embedding": "Create images embedding", - "Apply settings": "Apply settings", + "Apply settings": "設定を適用", "Saving images/grids": "画像/グリッドの保存", "Always save all generated images": "生成された画像をすべて保存する", "File format for images": "画像ファイルの保存形式", @@ -310,15 +314,15 @@ "Do not save grids consisting of one picture": "1画像からなるグリッド画像は保存しない", "Prevent empty spots in grid (when set to autodetect)": "(自動設定のとき)グリッドに空隙が生じるのを防ぐ", "Grid row count; use -1 for autodetect and 0 for it to be same as batch size": "グリッドの列数; -1で自動設定、0でバッチ生成回数と同じにする", - "Save text information about generation parameters as chunks to png files": "生成に関するパラメーターをpng画像に含める", + "Save text information about generation parameters as chunks to png files": "生成に関するパラメーターをPNG画像に含める", "Create a text file next to every image with generation parameters.": "保存する画像とともに生成パラメータをテキストファイルで保存する", "Save a copy of image before doing face restoration.": "顔修復を行う前にコピーを保存しておく。", "Quality for saved jpeg images": "JPG保存時の画質", "If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG": "PNG画像が4MBを超えるか、どちらか1辺の長さが4000を超えたなら、ダウンスケールしてコピーを別にJPGで保存する", - "Use original name for output filename during batch process in extras tab": "Use original name for output filename during batch process in extras tab", - "When using 'Save' button, only save a single selected image": "When using 'Save' button, only save a single selected image", + "Use original name for output filename during batch process in extras tab": "その他タブでバッチ処理をする際、元のファイル名を出力ファイル名に使う", + "When using 'Save' button, only save a single selected image": "\"保存\"ボタンを使うとき、単一の選択された画像のみを保存する", "Do not add watermark to images": "電子透かしを画像に追加しない", - "Paths for saving": "Paths for saving", + "Paths for saving": "保存する場所", "Output directory for images; if empty, defaults to three directories below": "画像の保存先フォルダ(下項目のデフォルト値になります)", "Output directory for txt2img images": "txt2imgで作った画像の保存先フォルダ", "Output directory for img2img images": "img2imgで作った画像の保存先フォルダ", @@ -345,13 +349,13 @@ "CodeFormer weight parameter; 0 = maximum effect; 1 = minimum effect": "CodeFormerの重みパラメーター;0が最大で1が最小", "Move face restoration model from VRAM into RAM after processing": "処理終了後、顔修復モデルをVRAMからRAMへと移動する", "System": "システム設定", - "VRAM usage polls per second during generation. Set to 0 to disable.": "VRAM usage polls per second during generation. Set to 0 to disable.", + "VRAM usage polls per second during generation. Set to 0 to disable.": "生成中のVRAM使用率の取得間隔。0にすると取得しない。", "Always print all generation info to standard output": "常にすべての生成に関する情報を標準出力(stdout)に出力する", - "Add a second progress bar to the console that shows progress for an entire job.": "Add a second progress bar to the console that shows progress for an entire job.", + "Add a second progress bar to the console that shows progress for an entire job.": "ジョブ全体の進捗をコンソールに表示する2つ目のプログレスバーを追加する", "Training": "学習", - "Move VAE and CLIP to RAM when training hypernetwork. Saves VRAM.": "hypernetworkの学習をするとき、VAEとCLIPをRAMへ退避します。VRAMが節約できます。", - "Filename word regex": "Filename word regex", - "Filename join string": "Filename join string", + "Move VAE and CLIP to RAM when training hypernetwork. Saves VRAM.": "hypernetworkの学習をするとき、VAEとCLIPをRAMへ退避する。VRAMが節約できます。", + "Filename word regex": "ファイル名の正規表現(学習用)", + "Filename join string": "ファイル名の結合子", "Number of repeats for a single input image per epoch; used only for displaying epoch number": "Number of repeats for a single input image per epoch; used only for displaying epoch number", "Save an csv containing the loss to log directory every N steps, 0 to disable": "Save an csv containing the loss to log directory every N steps, 0 to disable", "Stable Diffusion": "Stable Diffusion", @@ -360,13 +364,12 @@ "Apply color correction to img2img results to match original colors.": "元画像に合わせてimg2imgの結果を色補正する", "Save a copy of image before applying color correction to img2img results": "色補正をする前の画像も保存する", "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising).": "img2imgでスライダーで指定されたステップ数を正確に実行する(通常は、ノイズ除去を少なくするためにより少ないステップ数で実行します)。", - "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.": "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.", + "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.": "より良い結果を得るために、Kサンプラーで量子化を有効にします。これにより既存のシードが変更される可能性があります。適用するには再起動が必要です。", "Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention": "強調: (text)とするとモデルはtextをより強く扱い、[text]とするとモデルはtextをより弱く扱います。", "Use old emphasis implementation. Can be useful to reproduce old seeds.": "古い強調の実装を使う。古い生成物を再現するのに使えます。", - "Make K-diffusion samplers produce same images in a batch as when making a single image": "Make K-diffusion samplers produce same images in a batch as when making a single image", - "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens": "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens", + "Make K-diffusion samplers produce same images in a batch as when making a single image": "K-diffusionサンプラーによるバッチ生成時に、単一画像生成時と同じ画像を生成する", + "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens": "75トークン以上を使用する場合、nトークン内の最後のカンマからパディングして一貫性を高める", "Filter NSFW content": "NSFW(≒R-18)なコンテンツを検閲する", - "Stop At last layers of CLIP model": "最後から何層目でCLIPを止めるか", "Interrogate Options": "Interrogate 設定", "Interrogate: keep models in VRAM": "Interrogate: モデルをVRAMに保持する", "Interrogate: use artists from artists.csv": "Interrogate: artists.csvにある芸術家などの名称を利用する", @@ -382,18 +385,20 @@ "User interface": "UI設定", "Show progressbar": "プログレスバーを表示", "Show image creation progress every N sampling steps. Set 0 to disable.": "指定したステップ数ごとに画像の生成過程を表示する。0で無効化。", + "Show previews of all images generated in a batch as a grid": "Show previews of all images generated in a batch as a grid", "Show grid in results for web": "WebUI上でグリッド表示", "Do not show any images in results for web": "WebUI上で一切画像を表示しない", "Add model hash to generation information": "モデルのハッシュ値を生成情報に追加", "Add model name to generation information": "モデルの名称を生成情報に追加", - "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.": "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.", + "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint.": "テキストからUIに生成パラメータを読み込む場合(PNG情報または貼り付けられたテキストから)、選択されたモデル/チェックポイントは変更しない。", "Font for image grids that have text": "画像グリッド内のテキストフォント", "Enable full page image viewer": "フルページの画像ビューワーを有効化", "Show images zoomed in by default in full page image viewer": "フルページ画像ビューアでデフォルトで画像を拡大して表示する", "Show generation progress in window title.": "ウィンドウのタイトルで生成の進捗を表示", - "Quicksettings list": "Quicksettings list", + "Quicksettings list": "クイック設定", "Localization (requires restart)": "言語 (プログラムの再起動が必要)", "ja_JP": "ja_JP", + "ru_RU": "ru_RU", "Sampler parameters": "サンプラー parameters", "Hide samplers in user interface (requires restart)": "使わないサンプリングアルゴリズムを隠す (再起動が必要)", "eta (noise multiplier) for DDIM": "DDIMで用いるeta (noise multiplier)", @@ -414,65 +419,67 @@ "Download localization template": "ローカライゼーション用のテンプレートをダウンロードする", "Reload custom script bodies (No ui updates, No restart)": "カスタムスクリプトを再読み込み (UIは変更されず、再起動もしません。)", "Restart Gradio and Refresh components (Custom Scripts, ui.py, js and css only)": "Gradioを再起動してコンポーネントをリフレッシュする (Custom Scripts, ui.py, js, cssのみ影響を受ける)", - "Audio": "Audio", + "Audio": "音声", "Prompt (press Ctrl+Enter or Alt+Enter to generate)": "プロンプト (Ctrl+Enter か Alt+Enter を押して生成)", "Negative prompt (press Ctrl+Enter or Alt+Enter to generate)": "ネガティブ プロンプト (Ctrl+Enter か Alt+Enter を押して生成)", "Add a random artist to the prompt.": "芸術家などの名称をプロンプトに追加", - "Read generation parameters from prompt or last generation if prompt is empty into user interface.": "Read generation parameters from prompt or last generation if prompt is empty into user interface.", + "Read generation parameters from prompt or last generation if prompt is empty into user interface.": "プロンプトから生成パラメータを読み込むか、プロンプトが空の場合は最後の生成パラメータをユーザーインターフェースに読み込む。", "Save style": "スタイルを保存する", "Apply selected styles to current prompt": "現在のプロンプトに選択したスタイルを適用する", "Stop processing current image and continue processing.": "現在の処理を中断し、その後の処理は続ける", "Stop processing images and return any results accumulated so far.": "処理を中断し、それまでに出来た結果を表示する", - "Style to apply; styles have components for both positive and negative prompts and apply to both": "Style to apply; styles have components for both positive and negative prompts and apply to both", + "Style to apply; styles have components for both positive and negative prompts and apply to both": "適用するスタイル。スタイルは、ポジティブプロンプトとネガティブプロンプトの両方のコンポーネントを持ち、両方に適用される。", "Do not do anything special": "特別なことをなにもしない", "Which algorithm to use to produce the image": "どのアルゴリズムを使って生成するか", "Euler Ancestral - very creative, each can get a completely different picture depending on step count, setting steps to higher than 30-40 does not help": "Euler Ancestral - 非常に独創的で、ステップ数によって全く異なる画像が得られる、ステップ数を30~40より高く設定しても効果がない。", "Denoising Diffusion Implicit Models - best at inpainting": "Denoising Diffusion Implicit Models - 描き直しには最適", - "Produce an image that can be tiled.": "Produce an image that can be tiled.", + "Produce an image that can be tiled.": "タイルとして扱える画像を生成する", "Use a two step process to partially create an image at smaller resolution, upscale, and then improve details in it without changing composition": "2ステップで、まず部分的に小さい解像度で画像を作成し、その後アップスケールすることで、構図を変えずにディテールが改善されます。", - "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. With values below 1.0, processing will take less steps than the Sampling Steps slider specifies.": "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. With values below 1.0, processing will take less steps than the Sampling Steps slider specifies.", + "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. With values below 1.0, processing will take less steps than the Sampling Steps slider specifies.": "アルゴリズムが画像の内容をどの程度参考にするかを決定します。0 にすると何も変わりませんし、 1 にすると全く無関係な画像になります。1.0未満の値ではスライダーで指定したサンプリングステップ数よりも少ないステップ数で処理が行われます。", "How many batches of images to create": "バッチ処理を何回行うか", "How many image to create in a single batch": "1回のバッチ処理で何枚の画像を生成するか", - "Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results": "Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results", - "A value that determines the output of random number generator - if you create an image with same parameters and seed as another image, you'll get the same result": "A value that determines the output of random number generator - if you create an image with same parameters and seed as another image, you'll get the same result", + "Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results": "Classifier Free Guidance Scale - 生成する画像がどの程度プロンプトに沿ったものになるか。 - 低い値の方がよりクリエイティブな結果を生み出します。", + "A value that determines the output of random number generator - if you create an image with same parameters and seed as another image, you'll get the same result": "乱数発生器の出力を決定する値。同じパラメータとシードで画像を作成すれば、同じ結果が得られます。", "Set seed to -1, which will cause a new random number to be used every time": "シード値を -1 に設定するとランダムに生成します。", "Reuse seed from last generation, mostly useful if it was randomed": "前回生成時のシード値を読み出す。(ランダム生成時に便利)", - "Seed of a different picture to be mixed into the generation.": "Seed of a different picture to be mixed into the generation.", - "How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).": "How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).", - "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution", + "Seed of a different picture to be mixed into the generation.": "生成時に混合されることになる画像のシード値", + "How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).": "Variationの強度。0の場合、何の効果もありません。1では、バリエーションシードで完全な画像を得ることができます(Ancestalなアルゴリズム以外では、何か(?)を得るだけです)。", + "Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "同じシードで指定された解像度の似た画像を生成することを試みる。", "This text is used to rotate the feature space of the imgs embs": "This text is used to rotate the feature space of the imgs embs", "Separate values for X axis using commas.": "X軸に用いる値をカンマ(,)で区切って入力してください。", "Separate values for Y axis using commas.": "Y軸に用いる値をカンマ(,)で区切って入力してください。", - "Write image to a directory (default - log/images) and generation parameters into csv file.": "Write image to a directory (default - log/images) and generation parameters into csv file.", + "Write image to a directory (default - log/images) and generation parameters into csv file.": "画像はフォルダ(デフォルト:log/images)に、生成パラメータはcsvファイルに書き出します。", "Open images output directory": "画像の出力フォルダを開く", - "How much to blur the mask before processing, in pixels.": "How much to blur the mask before processing, in pixels.", - "What to put inside the masked area before processing it with Stable Diffusion.": "What to put inside the masked area before processing it with Stable Diffusion.", - "fill it with colors of the image": "fill it with colors of the image", - "keep whatever was there originally": "keep whatever was there originally", - "fill it with latent space noise": "fill it with latent space noise", - "fill it with latent space zeroes": "fill it with latent space zeroes", - "Upscale masked region to target resolution, do inpainting, downscale back and paste into original image": "Upscale masked region to target resolution, do inpainting, downscale back and paste into original image", - "Resize image to target resolution. Unless height and width match, you will get incorrect aspect ratio.": "Resize image to target resolution. Unless height and width match, you will get incorrect aspect ratio.", - "Resize the image so that entirety of target resolution is filled with the image. Crop parts that stick out.": "Resize the image so that entirety of target resolution is filled with the image. Crop parts that stick out.", - "Resize the image so that entirety of image is inside target resolution. Fill empty space with image's colors.": "Resize the image so that entirety of image is inside target resolution. Fill empty space with image's colors.", - "How many times to repeat processing an image and using it as input for the next iteration": "How many times to repeat processing an image and using it as input for the next iteration", - "In loopback mode, on each loop the denoising strength is multiplied by this value. <1 means decreasing variety so your sequence will converge on a fixed picture. >1 means increasing variety so your sequence will become more and more chaotic.": "In loopback mode, on each loop the denoising strength is multiplied by this value. <1 means decreasing variety so your sequence will converge on a fixed picture. >1 means increasing variety so your sequence will become more and more chaotic.", - "For SD upscale, how much overlap in pixels should there be between tiles. Tiles overlap so that when they are merged back into one picture, there is no clearly visible seam.": "For SD upscale, how much overlap in pixels should there be between tiles. Tiles overlap so that when they are merged back into one picture, there is no clearly visible seam.", - "A directory on the same machine where the server is running.": "A directory on the same machine where the server is running.", + "How much to blur the mask before processing, in pixels.": "処理前にどれだけマスクをぼかすか。px単位。", + "What to put inside the masked area before processing it with Stable Diffusion.": "Stable Diffusionにわたす前にマスクされたエリアに何を書き込むか", + "fill it with colors of the image": "元画像の色で埋める", + "keep whatever was there originally": "もともとあったものをそのままにする", + "fill it with latent space noise": "潜在空間(latent space)におけるノイズで埋める", + "fill it with latent space zeroes": "潜在空間(latent space)における0で埋める", + "Upscale masked region to target resolution, do inpainting, downscale back and paste into original image": "マスクされた領域をターゲット解像度にアップスケールし、インペイントを行い、元の解像度にダウンスケールして元の画像に貼り付けます。", + "Resize image to target resolution. Unless height and width match, you will get incorrect aspect ratio.": "画像をターゲット解像度にリサイズします。高さと幅が一致しない場合、アスペクト比が正しくなくなります。", + "Resize the image so that entirety of target resolution is filled with the image. Crop parts that stick out.": "対象の解像度に画像をフィットさせます。はみ出た部分は切り取られます。", + "Resize the image so that entirety of image is inside target resolution. Fill empty space with image's colors.": "画像をリサイズして、ターゲット解像度の中に収まるようにします。空白部分は画像の色で埋めます。", + "How many times to repeat processing an image and using it as input for the next iteration": "何回画像処理を繰り返し、次の反復処理の入力として使用するか", + "In loopback mode, on each loop the denoising strength is multiplied by this value. <1 means decreasing variety so your sequence will converge on a fixed picture. >1 means increasing variety so your sequence will become more and more chaotic.": "ループバックモードにおいて、各ループでのノイズ除去の強度はこの値によって乗算されます。1より小さければ変化が小さくなっていって、生成される画像は1つの画像に収束します。1より大きいとどんどん変化が大きくなるので、生成される画像はよりカオスになります。", + "For SD upscale, how much overlap in pixels should there be between tiles. Tiles overlap so that when they are merged back into one picture, there is no clearly visible seam.": "SDアップスケールで、どれだけタイル間の重なりを確保するか(px単位)。タイルの一部を重複させることで、1枚の画像にした時明らかな継ぎ目がなくなります。", + "A directory on the same machine where the server is running.": "サーバーが稼働しているのと同じマシンのあるフォルダ", "Leave blank to save images to the default path.": "空欄でデフォルトの場所へ画像を保存", "Input images directory": "Input images directory", - "Result = A * (1 - M) + B * M": "結果モデル = A * (1 - M) + B * M", - "Result = A + (B - C) * M": "結果モデル = A + (B - C) * M", - "1st and last digit must be 1. ex:'1, 2, 1'": "1st and last digit must be 1. ex:'1, 2, 1'", - "Path to directory with input images": "Path to directory with input images", - "Path to directory where to write outputs": "Path to directory where to write outputs", - "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.", + "Result = A * (1 - M) + B * M": "出力されるモデル = A * (1 - M) + B * M", + "Result = A + (B - C) * M": "出力されるモデル = A + (B - C) * M", + "1st and last digit must be 1. ex:'1, 2, 1'": "最初と最後の数字は1でなければなりません。 例:'1, 2, 1'", + "Path to directory with input images": "入力ファイルのあるフォルダの場所", + "Path to directory where to write outputs": "出力を書き込むフォルダの場所", + "Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "以下のタグを用いてファイル名パターンを決められます: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; 空白でデフォルト設定。", "If this option is enabled, watermark will not be added to created images. Warning: if you do not add watermark, you may be behaving in an unethical manner.": "このオプションを有効にすると、作成された画像にウォーターマークが追加されなくなります。警告:ウォーターマークを追加しない場合、非倫理的な行動とみなされる場合があります。", - "Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.", - "Restore low quality faces using GFPGAN neural network": "GFPGANを用いて低クオリティーの画像を修復", - "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.": "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.", - "This string will be used to join split words into a single line if the option above is enabled.": "This string will be used to join split words into a single line if the option above is enabled.", - "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.": "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.", - "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.": "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.", + "Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "以下のタグを用いてサブフォルダのフォルダ名パターンを決められます: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; 空白でデフォルト設定", + "Restore low quality faces using GFPGAN neural network": "GFPGANを用いて低クオリティーな顔画像を修復", + "This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.": "この正規表現を使ってファイル名から単語を抽出し、以下のオプションで結合して学習用のラベルテキストにします。ファイル名のテキストをそのまま使用する場合は、空白にしてください。", + "This string will be used to join split words into a single line if the option above is enabled.": "この文字列は、上記のオプションが有効な場合に、分割された単語を1行に結合するために使用されます。", + "List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.": "上部のクイックアクセスバーに置く設定の設定名をカンマで区切って入力。設定名については modules/shared.py を参照してください。適用するには再起動が必要です。", + "If this values is non-zero, it will be added to seed and used to initialize RNG for noises when using samplers with Eta. You can use this to produce even more variation of images, or you can use this to match images of other software if you know what you are doing.": "この値が0以外の場合、シードに追加され、Etaでサンプラーを使用する際のノイズ用の乱数生成器を初期化するのに使用されます。これを利用して、さらにバリエーション豊かな画像を作成したり、他のソフトの画像に合わせたりすることができます。", + "NAIConvert": "NAIから変換", + "History": "履歴", "Enable Autocomplete": "自動補完を有効化" } \ No newline at end of file From 71d14a4c40503f0788e2881bb406911c102af40d Mon Sep 17 00:00:00 2001 From: Kris57 <49682577+yuuki76@users.noreply.github.com> Date: Sun, 23 Oct 2022 21:25:25 +0900 Subject: [PATCH 36/52] cleanup ja translation --- localizations/ja_JP.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/localizations/ja_JP.json b/localizations/ja_JP.json index 741875c3..7bb9db30 100644 --- a/localizations/ja_JP.json +++ b/localizations/ja_JP.json @@ -81,17 +81,14 @@ "Slerp angle": "Slerp angle", "Is negative text": "Is negative text", "Script": "スクリプト", - "nai2SD Prompt Converter": "nai2SD Prompt Converter", "Prompt matrix": "Prompt matrix", "Prompts from file or textbox": "Prompts from file or textbox", "Save steps of the sampling process to files": "Save steps of the sampling process to files", "X/Y plot": "X/Y plot", - "Prompts": "プロンプト", - "convert": "convert", - "Converted Prompts": "Converted Prompts", "Put variable parts at start of prompt": "Put variable parts at start of prompt", "Show Textbox": "Show Textbox", "File with inputs": "File with inputs", + "Prompts": "プロンプト", "Save images to path": "Save images to path", "X type": "X軸の種類", "Nothing": "なし", From edc0c907fa257f70d63dfdbb755e674cea08f4a7 Mon Sep 17 00:00:00 2001 From: Kris57 <49682577+yuuki76@users.noreply.github.com> Date: Sun, 23 Oct 2022 22:10:13 +0900 Subject: [PATCH 37/52] fix ja translation --- localizations/ja_JP.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localizations/ja_JP.json b/localizations/ja_JP.json index 7bb9db30..a6cc2477 100644 --- a/localizations/ja_JP.json +++ b/localizations/ja_JP.json @@ -437,7 +437,7 @@ "How many image to create in a single batch": "1回のバッチ処理で何枚の画像を生成するか", "Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results": "Classifier Free Guidance Scale - 生成する画像がどの程度プロンプトに沿ったものになるか。 - 低い値の方がよりクリエイティブな結果を生み出します。", "A value that determines the output of random number generator - if you create an image with same parameters and seed as another image, you'll get the same result": "乱数発生器の出力を決定する値。同じパラメータとシードで画像を作成すれば、同じ結果が得られます。", - "Set seed to -1, which will cause a new random number to be used every time": "シード値を -1 に設定するとランダムに生成します。", + "Set seed to -1, which will cause a new random number to be used every time": "シード値を-1に設定。つまり、毎回ランダムに生成します。", "Reuse seed from last generation, mostly useful if it was randomed": "前回生成時のシード値を読み出す。(ランダム生成時に便利)", "Seed of a different picture to be mixed into the generation.": "生成時に混合されることになる画像のシード値", "How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).": "Variationの強度。0の場合、何の効果もありません。1では、バリエーションシードで完全な画像を得ることができます(Ancestalなアルゴリズム以外では、何か(?)を得るだけです)。", From 876a96f0f9843382ebc8984db3de5d8af0e9ce4c Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Mon, 24 Oct 2022 09:39:46 +0300 Subject: [PATCH 38/52] remove erroneous dir in the extension directory remove loading .js files from scripts dir (they go into javascript) load scripts after models, for scripts that depend on loaded models --- extensions/stable-diffusion-webui-inspiration | 1 - modules/ui.py | 2 +- webui.py | 11 ++++++----- 3 files changed, 7 insertions(+), 7 deletions(-) delete mode 160000 extensions/stable-diffusion-webui-inspiration diff --git a/extensions/stable-diffusion-webui-inspiration b/extensions/stable-diffusion-webui-inspiration deleted file mode 160000 index a0b96664..00000000 --- a/extensions/stable-diffusion-webui-inspiration +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a0b96664d2524b87916ae463fbb65411b13a569b diff --git a/modules/ui.py b/modules/ui.py index a73b9ff0..03528968 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -1885,7 +1885,7 @@ def load_javascript(raw_response): javascript = f'' scripts_list = modules.scripts.list_scripts("javascript", ".js") - scripts_list += modules.scripts.list_scripts("scripts", ".js") + for basedir, filename, path in scripts_list: with open(path, "r", encoding="utf8") as jsfile: javascript += f"\n" diff --git a/webui.py b/webui.py index a0f3757f..ade7334b 100644 --- a/webui.py +++ b/webui.py @@ -9,7 +9,7 @@ from fastapi.middleware.gzip import GZipMiddleware from modules.paths import script_path -from modules import devices, sd_samplers +from modules import devices, sd_samplers, upscaler import modules.codeformer_model as codeformer import modules.extras import modules.face_restoration @@ -73,12 +73,11 @@ def wrap_gradio_gpu_call(func, extra_outputs=None): def initialize(): - modules.scripts.load_scripts() if cmd_opts.ui_debug_mode: - class enmpty(): - name = None - shared.sd_upscalers = [enmpty()] + shared.sd_upscalers = upscaler.UpscalerLanczos().scalers + modules.scripts.load_scripts() return + modelloader.cleanup_models() modules.sd_models.setup_model() codeformer.setup_model(cmd_opts.codeformer_models_path) @@ -86,6 +85,8 @@ def initialize(): shared.face_restorers.append(modules.face_restoration.FaceRestoration()) modelloader.load_upscalers() + modules.scripts.load_scripts() + modules.sd_models.load_model() shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: modules.sd_models.reload_model_weights(shared.sd_model))) shared.opts.onchange("sd_hypernetwork", wrap_queued_call(lambda: modules.hypernetworks.hypernetwork.load_hypernetwork(shared.opts.sd_hypernetwork))) From c623fa1f0b9a3936a29f1d1bd65f4e0fadf1c9c4 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Mon, 24 Oct 2022 09:51:17 +0300 Subject: [PATCH 39/52] add extensions dir --- extensions/put extensions here.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 extensions/put extensions here.txt diff --git a/extensions/put extensions here.txt b/extensions/put extensions here.txt new file mode 100644 index 00000000..e69de29b From 3be6b29d81408d2adb741bff5b11c80214aa621e Mon Sep 17 00:00:00 2001 From: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Mon, 24 Oct 2022 15:14:34 +0900 Subject: [PATCH 40/52] indent=4 config.json --- modules/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shared.py b/modules/shared.py index 6541e679..d6ddfe59 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -348,7 +348,7 @@ class Options: def save(self, filename): with open(filename, "w", encoding="utf8") as file: - json.dump(self.data, file) + json.dump(self.data, file, indent=4) def same_type(self, x, y): if x is None or y is None: From c5d90628a4058bf49c2fdabf620a24db73407f31 Mon Sep 17 00:00:00 2001 From: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Sat, 22 Oct 2022 17:16:55 +0900 Subject: [PATCH 41/52] move "file_decoration" initialize section into "if forced_filename is None:" no need to initialize it if it's not going to be used --- modules/images.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/images.py b/modules/images.py index b9589563..50a59cff 100644 --- a/modules/images.py +++ b/modules/images.py @@ -386,18 +386,6 @@ def save_image(image, path, basename, seed=None, prompt=None, extension='png', i txt_fullfn (`str` or None): If a text file is saved for this image, this will be its full path. Otherwise None. ''' - if short_filename or prompt is None or seed is None: - file_decoration = "" - elif opts.save_to_dirs: - file_decoration = opts.samples_filename_pattern or "[seed]" - else: - file_decoration = opts.samples_filename_pattern or "[seed]-[prompt_spaces]" - - if file_decoration != "": - file_decoration = "-" + file_decoration.lower() - - file_decoration = apply_filename_pattern(file_decoration, p, seed, prompt) + suffix - if extension == 'png' and opts.enable_pnginfo and info is not None: pnginfo = PngImagePlugin.PngInfo() @@ -419,6 +407,18 @@ def save_image(image, path, basename, seed=None, prompt=None, extension='png', i os.makedirs(path, exist_ok=True) if forced_filename is None: + if short_filename or prompt is None or seed is None: + file_decoration = "" + elif opts.save_to_dirs: + file_decoration = opts.samples_filename_pattern or "[seed]" + else: + file_decoration = opts.samples_filename_pattern or "[seed]-[prompt_spaces]" + + if file_decoration != "": + file_decoration = "-" + file_decoration.lower() + + file_decoration = apply_filename_pattern(file_decoration, p, seed, prompt) + suffix + basecount = get_next_sequence_number(path, basename) fullfn = "a.png" fullfn_without_extension = "a" From 7d4a4db9ea7543c079f4a4a702c2945f4b66cd11 Mon Sep 17 00:00:00 2001 From: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Sat, 22 Oct 2022 17:48:59 +0900 Subject: [PATCH 42/52] modify unnecessary sting assignment as it's going to get overwritten --- modules/images.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/images.py b/modules/images.py index 50a59cff..cc5066b1 100644 --- a/modules/images.py +++ b/modules/images.py @@ -420,8 +420,8 @@ def save_image(image, path, basename, seed=None, prompt=None, extension='png', i file_decoration = apply_filename_pattern(file_decoration, p, seed, prompt) + suffix basecount = get_next_sequence_number(path, basename) - fullfn = "a.png" - fullfn_without_extension = "a" + fullfn = None + fullfn_without_extension = None for i in range(500): fn = f"{basecount + i:05}" if basename == '' else f"{basename}-{basecount + i:04}" fullfn = os.path.join(path, f"{fn}{file_decoration}.{extension}") From 37dd6deafb831a809eaf7ae8d232937a8c7998e7 Mon Sep 17 00:00:00 2001 From: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Sat, 22 Oct 2022 21:11:15 +0900 Subject: [PATCH 43/52] filename pattern [datetime], extended customizable Format and Time Zone format: [datetime] [datetime] [datetime