Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Toc
/
toc
like
3
Transformers
Model card
Files
Files and versions
xet
Community
Deploy
Use this model
e19302f
toc
/
ex
/
additional-networks
/
preload.py
Toc
Upload 1820 files
8da9c80
almost 3 years ago
raw
Copy download link
history
blame
199 Bytes
import
os
from
modules
import
paths
def
preload
(
parser
):
parser.add_argument(
"--addnet-max-model-count"
,
type
=
int
,
help
=
"The maximum number of additional network model can be used."
, default=
5
)