mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
I18N
I18N
This commit is contained in:
@@ -6,6 +6,10 @@ import fcbh.cli_args as fcbh_cli
|
||||
fcbh_cli.parser.add_argument("--share", action='store_true', help="Set whether to share on Gradio.")
|
||||
fcbh_cli.parser.add_argument("--preset", type=str, default=None, help="Apply specified UI preset.")
|
||||
|
||||
fcbh_cli.parser.add_argument("--language", type=str, default=None,
|
||||
help="Translate UI using json files in [language] folder. "
|
||||
"For example, [--language example] will use [language/example.json] for translation.")
|
||||
|
||||
fcbh_cli.args = fcbh_cli.parser.parse_args()
|
||||
fcbh_cli.args.disable_cuda_malloc = True
|
||||
fcbh_cli.args.auto_launch = True
|
||||
|
||||
Reference in New Issue
Block a user