SYMBOL INDEX (172 symbols across 20 files) FILE: launch.py function check_python_version (line 20) | def check_python_version(): function commit_hash (line 51) | def commit_hash(): function extract_arg (line 65) | def extract_arg(args, name): function extract_opt (line 69) | def extract_opt(args, name): function run (line 82) | def run(command, desc=None, errdesc=None, custom_env=None, live=False): function check_run (line 110) | def check_run(command): function is_installed (line 115) | def is_installed(package): function repo_dir (line 124) | def repo_dir(name): function run_python (line 128) | def run_python(code, desc=None, errdesc=None): function run_pip (line 132) | def run_pip(args, desc=None): function check_run_python (line 140) | def check_run_python(code): function git_clone (line 144) | def git_clone(url, dir, name, commithash=None): function version_check (line 165) | def version_check(commit): function run_extension_installer (line 182) | def run_extension_installer(extension_dir): function list_extensions (line 196) | def list_extensions(settings_file): function run_extensions_installers (line 211) | def run_extensions_installers(settings_file): function prepare_environment (line 219) | def prepare_environment(): function tests (line 325) | def tests(test_dir): function start (line 350) | def start(): FILE: script.js function gradioApp (line 1) | function gradioApp() { function get_uiCurrentTab (line 7) | function get_uiCurrentTab() { function get_uiCurrentTabContent (line 11) | function get_uiCurrentTabContent() { function onUiUpdate (line 21) | function onUiUpdate(callback){ function onUiLoaded (line 24) | function onUiLoaded(callback){ function onUiTabChange (line 27) | function onUiTabChange(callback){ function onOptionsChanged (line 30) | function onOptionsChanged(callback){ function runCallback (line 34) | function runCallback(x, m){ function executeCallbacks (line 41) | function executeCallbacks(queue, m) { function uiElementIsVisible (line 86) | function uiElementIsVisible(el) { FILE: scripts/custom_code.py class Script (line 7) | class Script(scripts.Script): method title (line 9) | def title(self): method show (line 12) | def show(self, is_img2img): method ui (line 15) | def ui(self, is_img2img): method run (line 21) | def run(self, p, code): FILE: scripts/img2imgalt.py function find_noise_for_image (line 21) | def find_noise_for_image(p, cond, uncond, cfg_scale, steps): function find_noise_for_image_sigma_adjustment (line 68) | def find_noise_for_image_sigma_adjustment(p, cond, uncond, cfg_scale, st... class Script (line 118) | class Script(scripts.Script): method __init__ (line 119) | def __init__(self): method title (line 122) | def title(self): method show (line 125) | def show(self, is_img2img): method ui (line 128) | def ui(self, is_img2img): method run (line 157) | def run(self, p, _, override_sampler, override_prompt, original_prompt... FILE: scripts/loopback.py class Script (line 14) | class Script(scripts.Script): method title (line 15) | def title(self): method show (line 18) | def show(self, is_img2img): method ui (line 21) | def ui(self, is_img2img): method run (line 28) | def run(self, p, loops, denoising_strength_change_factor, append_inter... FILE: scripts/outpainting_mk_2.py function get_matched_noise (line 16) | def get_matched_noise(_np_src_image, np_mask_rgb, noise_q=1, color_varia... class Script (line 121) | class Script(scripts.Script): method title (line 122) | def title(self): method show (line 125) | def show(self, is_img2img): method ui (line 128) | def ui(self, is_img2img): method run (line 142) | def run(self, p, _, pixels, mask_blur, direction, noise_q, color_varia... FILE: scripts/poor_mans_outpainting.py class Script (line 12) | class Script(scripts.Script): method title (line 13) | def title(self): method show (line 16) | def show(self, is_img2img): method ui (line 19) | def ui(self, is_img2img): method run (line 30) | def run(self, p, pixels, mask_blur, inpainting_fill, direction): FILE: scripts/postprocessing_codeformer.py class ScriptPostprocessingCodeFormer (line 10) | class ScriptPostprocessingCodeFormer(scripts_postprocessing.ScriptPostpr... method ui (line 14) | def ui(self): method process (line 24) | def process(self, pp: scripts_postprocessing.PostprocessedImage, codef... FILE: scripts/postprocessing_gfpgan.py class ScriptPostprocessingGfpGan (line 10) | class ScriptPostprocessingGfpGan(scripts_postprocessing.ScriptPostproces... method ui (line 14) | def ui(self): method process (line 22) | def process(self, pp: scripts_postprocessing.PostprocessedImage, gfpga... FILE: scripts/postprocessing_upscale.py class ScriptPostprocessingUpscale (line 13) | class ScriptPostprocessingUpscale(scripts_postprocessing.ScriptPostproce... method ui (line 17) | def ui(self): method upscale (line 51) | def upscale(self, image, info, upscaler, upscale_mode, upscale_by, up... method process (line 78) | def process(self, pp: scripts_postprocessing.PostprocessedImage, upsca... method image_changed (line 105) | def image_changed(self): class ScriptPostprocessingUpscaleSimple (line 109) | class ScriptPostprocessingUpscaleSimple(ScriptPostprocessingUpscale): method ui (line 113) | def ui(self): method process (line 123) | def process(self, pp: scripts_postprocessing.PostprocessedImage, upsca... FILE: scripts/prompt_matrix.py function draw_xy_grid (line 15) | def draw_xy_grid(xs, ys, x_label, y_label, cell): class Script (line 43) | class Script(scripts.Script): method title (line 44) | def title(self): method ui (line 47) | def ui(self, is_img2img): method run (line 61) | def run(self, p, put_at_start, different_seeds, prompt_type, variation... FILE: scripts/prompts_from_file.py function process_string_tag (line 18) | def process_string_tag(tag): function process_int_tag (line 22) | def process_int_tag(tag): function process_float_tag (line 26) | def process_float_tag(tag): function process_boolean_tag (line 30) | def process_boolean_tag(tag): function cmdargs (line 62) | def cmdargs(line): function load_prompt_file (line 101) | def load_prompt_file(file): class Script (line 110) | class Script(scripts.Script): method title (line 111) | def title(self): method ui (line 114) | def ui(self, is_img2img): method run (line 129) | def run(self, p, checkbox_iterate, checkbox_iterate_batch, prompt_txt:... FILE: scripts/sd_upscale.py class Script (line 12) | class Script(scripts.Script): method title (line 13) | def title(self): method show (line 16) | def show(self, is_img2img): method ui (line 19) | def ui(self, is_img2img): method run (line 27) | def run(self, p, _, overlap, upscaler_index, scale_factor): FILE: scripts/xyz_grid.py function apply_field (line 31) | def apply_field(field): function apply_prompt (line 38) | def apply_prompt(p, x, xs): function apply_order (line 46) | def apply_order(p, x, xs): function apply_sampler (line 71) | def apply_sampler(p, x, xs): function confirm_samplers (line 79) | def confirm_samplers(p, xs): function apply_checkpoint (line 85) | def apply_checkpoint(p, x, xs): function confirm_checkpoints (line 92) | def confirm_checkpoints(p, xs): function apply_clip_skip (line 98) | def apply_clip_skip(p, x, xs): function apply_upscale_latent_space (line 102) | def apply_upscale_latent_space(p, x, xs): function find_vae (line 109) | def find_vae(name: str): function apply_vae (line 123) | def apply_vae(p, x, xs): function apply_styles (line 127) | def apply_styles(p: StableDiffusionProcessingTxt2Img, x: str, _): function format_value_add_label (line 131) | def format_value_add_label(p, opt, x): function format_value (line 138) | def format_value(p, opt, x): function format_value_join_list (line 144) | def format_value_join_list(p, opt, x): function do_nothing (line 148) | def do_nothing(p, x, xs): function format_nothing (line 152) | def format_nothing(p, opt, x): function str_permutations (line 156) | def str_permutations(x): class AxisOption (line 161) | class AxisOption: method __init__ (line 162) | def __init__(self, label, type, apply, format_value=format_value_add_l... class AxisOptionImg2Img (line 172) | class AxisOptionImg2Img(AxisOption): method __init__ (line 173) | def __init__(self, *args, **kwargs): class AxisOptionTxt2Img (line 177) | class AxisOptionTxt2Img(AxisOption): method __init__ (line 178) | def __init__(self, *args, **kwargs): function draw_xyz_grid (line 211) | def draw_xyz_grid(p, xs, ys, zs, x_labels, y_labels, z_labels, cell, dra... class SharedSettingsStackHelper (line 315) | class SharedSettingsStackHelper(object): method __enter__ (line 316) | def __enter__(self): method __exit__ (line 320) | def __exit__(self, exc_type, exc_value, tb): class Script (line 335) | class Script(scripts.Script): method title (line 336) | def title(self): method ui (line 339) | def ui(self, is_img2img): method run (line 410) | def run(self, p, x_type, x_values, y_type, y_values, z_type, z_values,... FILE: test/basic_features/extras_test.py class TestExtrasWorking (line 6) | class TestExtrasWorking(unittest.TestCase): method setUp (line 7) | def setUp(self): method test_simple_upscaling_performed (line 25) | def test_simple_upscaling_performed(self): class TestPngInfoWorking (line 30) | class TestPngInfoWorking(unittest.TestCase): method setUp (line 31) | def setUp(self): method test_png_info_performed (line 37) | def test_png_info_performed(self): class TestInterrogateWorking (line 41) | class TestInterrogateWorking(unittest.TestCase): method setUp (line 42) | def setUp(self): method test_interrogate_performed (line 49) | def test_interrogate_performed(self): FILE: test/basic_features/img2img_test.py class TestImg2ImgWorking (line 7) | class TestImg2ImgWorking(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_img2img_simple_performed (line 46) | def test_img2img_simple_performed(self): method test_inpainting_masked_performed (line 49) | def test_inpainting_masked_performed(self): method test_inpainting_with_inverted_masked_performed (line 53) | def test_inpainting_with_inverted_masked_performed(self): method test_img2img_sd_upscale_performed (line 58) | def test_img2img_sd_upscale_performed(self): FILE: test/basic_features/txt2img_test.py class TestTxt2ImgWorking (line 5) | class TestTxt2ImgWorking(unittest.TestCase): method setUp (line 6) | def setUp(self): method test_txt2img_simple_performed (line 37) | def test_txt2img_simple_performed(self): method test_txt2img_with_negative_prompt_performed (line 40) | def test_txt2img_with_negative_prompt_performed(self): method test_txt2img_with_complex_prompt_performed (line 44) | def test_txt2img_with_complex_prompt_performed(self): method test_txt2img_not_square_image_performed (line 48) | def test_txt2img_not_square_image_performed(self): method test_txt2img_with_hrfix_performed (line 52) | def test_txt2img_with_hrfix_performed(self): method test_txt2img_with_tiling_performed (line 56) | def test_txt2img_with_tiling_performed(self): method test_txt2img_with_restore_faces_performed (line 60) | def test_txt2img_with_restore_faces_performed(self): method test_txt2img_with_vanilla_sampler_performed (line 64) | def test_txt2img_with_vanilla_sampler_performed(self): method test_txt2img_multiple_batches_performed (line 70) | def test_txt2img_multiple_batches_performed(self): method test_txt2img_batch_performed (line 74) | def test_txt2img_batch_performed(self): FILE: test/basic_features/utils_test.py class UtilsTests (line 4) | class UtilsTests(unittest.TestCase): method setUp (line 5) | def setUp(self): method test_options_get (line 17) | def test_options_get(self): method test_options_write (line 20) | def test_options_write(self): method test_cmd_flags (line 34) | def test_cmd_flags(self): method test_samplers (line 37) | def test_samplers(self): method test_upscalers (line 40) | def test_upscalers(self): method test_sd_models (line 43) | def test_sd_models(self): method test_hypernetworks (line 46) | def test_hypernetworks(self): method test_face_restorers (line 49) | def test_face_restorers(self): method test_realesrgan_models (line 52) | def test_realesrgan_models(self): method test_prompt_styles (line 55) | def test_prompt_styles(self): method test_embeddings (line 58) | def test_embeddings(self): FILE: test/server_poll.py function run_tests (line 6) | def run_tests(proc, test_dir): FILE: webui.py function check_versions (line 55) | def check_versions(): function initialize (line 86) | def initialize(): function setup_cors (line 156) | def setup_cors(app): function create_api (line 165) | def create_api(app): function wait_on_server (line 171) | def wait_on_server(demo=None): function api_only (line 182) | def api_only(): function webui (line 195) | def webui():