The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Make server storage the default.
comfyanonymous53c8a99e6c00
diff --git a/app/user_manager.py b/app/user_manager.pyindex 75485ee42..209094af1 100644--- a/app/user_manager.py+++ b/app/user_manager.py@@ -94,7 +94,7 @@ class UserManager():else:user_dir = self.get_request_user_filepath(request, None, create_dir=False)return web.json_response({- "storage": "server" if args.server_storage else "browser",+ "storage": "server","migrated": os.path.exists(user_dir)})diff --git a/comfy/cli_args.py b/comfy/cli_args.pyindex c02bbf2ba..b4bbfbfab 100644--- a/comfy/cli_args.py+++ b/comfy/cli_args.py@@ -112,8 +112,7 @@ parser.add_argument("--windows-standalone-build", action="store_true", help="Winparser.add_argument("--disable-metadata", action="store_true", help="Disable saving prompt metadata in files.")-parser.add_argument("--server-storage", action="store_true", help="Saves settings and other user configuration on the server instead of in browser storage.")-parser.add_argument("--multi-user", action="store_true", help="Enables per-user storage. If enabled, server-storage will be unconditionally enabled.")+parser.add_argument("--multi-user", action="store_true", help="Enables per-user storage.")if comfy.options.args_parsing:args = parser.parse_args()@@ -125,6 +124,3 @@ if args.windows_standalone_build:if args.disable_auto_launch:args.auto_launch = False--if args.multi_user:- args.server_storage = True\ No newline at end of file