Spaces:
Running
on
Zero
Running
on
Zero
File size: 966 Bytes
cd39c08 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
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 = ''
|