diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-08 14:52:03 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-08 14:52:03 +0000 |
commit | 4981c7d3704e50dd93fe1b68d299239a4ded1ec2 (patch) | |
tree | 1280cc6c5f281bee948e94f7fe593778940e87a9 /modules/shared.py | |
parent | ee642a2ff48d608fb127aa2bb0124a9a541d8d92 (diff) | |
download | stable-diffusion-webui-gfx803-4981c7d3704e50dd93fe1b68d299239a4ded1ec2.tar.gz stable-diffusion-webui-gfx803-4981c7d3704e50dd93fe1b68d299239a4ded1ec2.tar.bz2 stable-diffusion-webui-gfx803-4981c7d3704e50dd93fe1b68d299239a4ded1ec2.zip |
move github proxy to settings, System page.
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index 48478a68..b7518de6 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -391,6 +391,7 @@ options_templates.update(options_section(('system', "System"), { "print_hypernet_extra": OptionInfo(False, "Print extra hypernetwork information to console."),
"list_hidden_files": OptionInfo(True, "Load models/files in hidden directories").info("directory is hidden if its name starts with \".\""),
"disable_mmap_load_safetensors": OptionInfo(False, "Disable memmapping for loading .safetensors files.").info("fixes very slow loading speed in some cases"),
+ "github_proxy": OptionInfo("None", "Github proxy", ui_components.DropdownEditable, lambda: {"choices": ["None", "ghproxy.com", "hub.yzuu.cf", "hub.njuu.cf", "hub.nuaa.cf"]}).info("for custom inputs will just replace github.com with the input"),
}))
options_templates.update(options_section(('training', "Training"), {
|