aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-06-27 09:06:03 +0300
committerGitHub <noreply@github.com>2023-06-27 09:06:03 +0300
commitd35e24611172a49f7b3637c601dc0fb12c9d0326 (patch)
treee7915af4d068912cd8509f1638e05460445a5eea /modules/shared.py
parentbedcd2f377a38ef4da58c11dbe222d32b954be2f (diff)
parent4147fd6b2f905f76c6bc20c3d9de2ea0842fa853 (diff)
Merge pull request #11227 from deckar01/10141-gradio-user-exif
Add Gradio User to Metadata
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 a0862055..da4918b5 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -493,6 +493,7 @@ options_templates.update(options_section(('ui', "User interface"), {
options_templates.update(options_section(('infotext', "Infotext"), {
"add_model_hash_to_info": OptionInfo(True, "Add model hash to generation information"),
"add_model_name_to_info": OptionInfo(True, "Add model name to generation information"),
+ "add_user_name_to_info": OptionInfo(False, "Add user name to generation information when authenticated"),
"add_version_to_infotext": OptionInfo(True, "Add program version to generation information"),
"disable_weights_auto_swap": OptionInfo(True, "Disregard checkpoint information from pasted infotext").info("when reading generation parameters from text into UI"),
"infotext_styles": OptionInfo("Apply if any", "Infer styles from prompts of pasted infotext", gr.Radio, {"choices": ["Ignore", "Apply", "Discard", "Apply if any"]}).info("when reading generation parameters from text into UI)").html("""<ul style='margin-left: 1.5em'>