|
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')
|
|
|
|
|
|
|
|
HF_MODEL_USER_LIKES = []
|
|
HF_MODEL_USER_EX = []
|
|
|
|
|
|
|
|
download_model_list = [
|
|
]
|
|
|
|
|
|
download_vae_list = [
|
|
]
|
|
|
|
|
|
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 = []
|
|
HF_LORA_PRIVATE_REPOS = HF_LORA_PRIVATE_REPOS1 + HF_LORA_PRIVATE_REPOS2
|
|
HF_LORA_ESSENTIAL_PRIVATE_REPO = ''
|
|
HF_VAE_PRIVATE_REPO = ''
|
|
|
|
|