aai / old2 /config.py
mantrakp
Refactor flux_helpers.py to enable or disable Vae
37112ef
raw
history blame contribute delete
702 Bytes
# config.py
import json
css = """
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
body {
font-family: 'Poppins', sans-serif !important;
}
.center-content {
text-align: center;
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.center-content h1 {
font-weight: 600;
margin-bottom: 1rem;
}
.center-content p {
margin-bottom: 1.5rem;
}
"""
# Models
flux_models = ["black-forest-labs/FLUX.1-dev"]
sdxl_models = ["stabilityai/stable-diffusion-xl-base-1.0"]
# Load LoRAs
with open("data/loras/flux.json", "r") as f:
flux_loras = json.load(f)
with open("data/loras/sdxl.json", "r") as f:
sdxl_loras = json.load(f)