John6666's picture
Upload 57 files
184d241 verified
raw
history blame
966 Bytes
import os
CIVITAI_API_KEY = os.environ.get("CIVITAI_API_KEY")
hf_token = os.environ.get("HF_TOKEN")
hf_read_token = os.environ.get('HF_READ_TOKEN') # only use for private repo
# List all Models for specified user
HF_MODEL_USER_LIKES = [] # sorted by number of likes
HF_MODEL_USER_EX = [] # sorted by a special rule
# - **Download Models**
download_model_list = [
]
# - **Download VAEs**
download_vae_list = [
]
# - **Download LoRAs**
download_lora_list = [
]
directory_models = 'models'
os.makedirs(directory_models, exist_ok=True)
directory_loras = 'loras'
os.makedirs(directory_loras, exist_ok=True)
directory_vaes = 'vaes'
os.makedirs(directory_vaes, exist_ok=True)
HF_LORA_PRIVATE_REPOS1 = []
HF_LORA_PRIVATE_REPOS2 = [] # to be sorted as 1 repo
HF_LORA_PRIVATE_REPOS = HF_LORA_PRIVATE_REPOS1 + HF_LORA_PRIVATE_REPOS2
HF_LORA_ESSENTIAL_PRIVATE_REPO = '' # to be downloaded on run app
HF_VAE_PRIVATE_REPO = ''