feat: no huggingface option

This commit is contained in:
Bingsu
2023-05-13 15:17:08 +09:00
parent a0657caf3e
commit 3d892728c6
3 changed files with 37 additions and 13 deletions

9
preload.py Normal file
View File

@@ -0,0 +1,9 @@
import argparse
def preload(parser: argparse.ArgumentParser):
parser.add_argument(
"--ad-no-huggingface",
action="store_true",
help="Don't use adetailer models from huggingface",
)