Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update ldm_patched #3084

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions args_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,34 @@
help="Disables preset selection in Gradio.")

args_parser.parser.add_argument("--language", type=str, default='default',
help="Translate UI using json files in [language] folder. "
help="Translate UI using json files in [language] folder."
"For example, [--language example] will use [language/example.json] for translation.")

# For example, https://github.com/lllyasviel/Fooocus/issues/849
args_parser.parser.add_argument("--disable-offload-from-vram", action="store_true",
help="Force loading models to vram when the unload can be avoided. "
"Some Mac users may need this.")

args_parser.parser.add_argument("--theme", type=str, help="launches the UI with light or dark theme", default=None)
args_parser.parser.add_argument("--theme", type=str, help="launches the UI with light or dark theme.", default=None)
args_parser.parser.add_argument("--disable-image-log", action='store_true',
help="Prevent writing images and logs to hard drive.")

args_parser.parser.add_argument("--disable-analytics", action='store_true',
help="Disables analytics for Gradio.")

args_parser.parser.add_argument("--disable-metadata", action='store_true',
help="Disables saving metadata to images.")

args_parser.parser.add_argument("--disable-preset-download", action='store_true',
help="Disables downloading models for presets", default=False)
help="Disables downloading models for presets.", default=False)

args_parser.parser.add_argument("--enable-describe-uov-image", action='store_true',
help="Disables automatic description of uov images when prompt is empty", default=False)
help="Disables automatic description of uov images when prompt is empty.", default=False)

args_parser.parser.add_argument("--always-download-new-model", action='store_true',
help="Always download newer models ", default=False)
help="Always download newer models.", default=False)

args_parser.parser.add_argument("--favicon-path", type=str, default=None, help="Set the favicon filepath.")
args_parser.parser.add_argument("--auth-message", type=str, default=None, help="Message to show for auth.")

args_parser.parser.set_defaults(
disable_cuda_malloc=True,
in_browser=True,
port=None
)
Expand Down
Loading