John6666's picture
Upload 4 files
f3a071e verified
raw
history blame
3.15 kB
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
num_loras = 3
num_cns = 2
models = [
"camenduru/FLUX.1-dev-diffusers",
"black-forest-labs/FLUX.1-schnell",
"sayakpaul/FLUX.1-merged",
"ostris/OpenFLUX.1",
"John6666/flux-dev2pro-bf16-flux",
"John6666/flux1-dev-minus-v1-fp8-flux",
"John6666/hyper-flux1-dev-fp8-flux",
"John6666/blue-pencil-flux1-v010-fp8-flux",
"Raelina/Raemu-Flux",
"John6666/raemu-flux-v10-fp8-flux",
"John6666/copycat-flux-test-fp8-v11-fp8-flux",
"John6666/wai-ani-flux-v10forfp8-fp8-flux",
"John6666/flux-dev8-anime-nsfw-fp8-flux",
"John6666/nepotism-fuxdevschnell-v3aio-fp8-flux",
"John6666/sumeshi-flux1s-v002e-fp8-flux",
"John6666/fca-style-v33-x10-8step-fp8-flux",
"John6666/lyh-anime-v10f1-fp8-flux",
"John6666/lyh-dalle-anime-v12dalle-fp8-flux",
"John6666/lyh-anime-flux-v2a1-fp8-flux",
"John6666/glimmerkin-flux-cute-v10-fp8-flux",
"John6666/niji-style-flux-devfp8-fp8-flux",
"John6666/niji56-style-v3-fp8-flux",
"John6666/xe-anime-flux-v04-fp8-flux",
"John6666/xe-figure-flux-01-fp8-flux",
"John6666/xe-pixel-flux-01-fp8-flux",
"John6666/xe-guoman-flux-02-fp8-flux",
"John6666/carnival-unchained-v10-fp8-flux",
"John6666/fluxunchained-artfulnsfw-fut516xfp8e4m3fnv11-fp8-flux",
"John6666/fastflux-unchained-t5f16-fp8-flux",
"John6666/iniverse-mix-xl-sfwnsfw-fluxdfp16nsfwv11-fp8-flux",
"John6666/nsfw-master-flux-lora-merged-with-flux1-dev-fp16-v10-fp8-flux",
"John6666/the-araminta-flux1a1-fp8-flux",
"John6666/acorn-is-spinning-flux-v11-fp8-flux",
"John6666/real-horny-pro-fp8-flux",
"John6666/centerfold-flux-v20fp8e5m2-fp8-flux",
"John6666/jib-mix-flux-v208stephyper-fp8-flux",
"John6666/sapianf-nude-men-women-for-flux-v20fp16-fp8-flux",
"John6666/flux-asian-realistic-v10-fp8-flux",
"John6666/fluxasiandoll-v10-fp8-flux",
"John6666/xe-asian-flux-01-fp8-flux",
"John6666/fluxescore-dev-v10fp16-fp8-flux",
# "",
]
model_trigger = {
"Raelina/Raemu-Flux": "anime",
"John6666/raemu-flux-v10-fp8-flux": "anime",
"John6666/fca-style-v33-x10-8step-fp8-flux": "fca_style",
}
# 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 = ''