aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-08 17:52:03 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-07-08 17:52:03 +0300
commit4981c7d3704e50dd93fe1b68d299239a4ded1ec2 (patch)
tree1280cc6c5f281bee948e94f7fe593778940e87a9 /modules/shared.py
parentee642a2ff48d608fb127aa2bb0124a9a541d8d92 (diff)
move github proxy to settings, System page.
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
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"), {