File size: 702 Bytes
37112ef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# 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)