Update app.py
Browse files
app.py
CHANGED
@@ -103,10 +103,8 @@ async def gen(prompt, basemodel, width, height, scales, steps, seed, upscale_fac
|
|
103 |
base_models=[
|
104 |
"black-forest-labs/FLUX.1-schnell",
|
105 |
"black-forest-labs/FLUX.1-DEV",
|
106 |
-
"
|
107 |
-
"
|
108 |
-
"Shakker-Labs/FLUX.1-dev-LoRA-add-details",
|
109 |
-
"city96/FLUX.1-dev-gguf"
|
110 |
]
|
111 |
|
112 |
loras_list_custom=[
|
@@ -117,7 +115,6 @@ loras_list_custom=[
|
|
117 |
"Keltezaa/Flux_P",
|
118 |
"Shakker-Labs/FLUX.1-dev-LoRA-add-details",
|
119 |
"XLabs-AI/flux-RealismLora",
|
120 |
-
"enhanceaiteam/Flux-uncensored"
|
121 |
]+ loaded_loras # add loras loaded from file
|
122 |
|
123 |
# Creating Gradio interface
|
@@ -142,7 +139,7 @@ with gr.Blocks(css=css2, theme=IndonesiaTheme()) as WallpaperFluxMaker:
|
|
142 |
|
143 |
basemodel_choice = gr.Dropdown(
|
144 |
label="🖼️ Select Model",
|
145 |
-
choices=
|
146 |
value=base_models[0]
|
147 |
)
|
148 |
|
|
|
103 |
base_models=[
|
104 |
"black-forest-labs/FLUX.1-schnell",
|
105 |
"black-forest-labs/FLUX.1-DEV",
|
106 |
+
#"Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro",
|
107 |
+
#"city96/FLUX.1-dev-gguf"
|
|
|
|
|
108 |
]
|
109 |
|
110 |
loras_list_custom=[
|
|
|
115 |
"Keltezaa/Flux_P",
|
116 |
"Shakker-Labs/FLUX.1-dev-LoRA-add-details",
|
117 |
"XLabs-AI/flux-RealismLora",
|
|
|
118 |
]+ loaded_loras # add loras loaded from file
|
119 |
|
120 |
# Creating Gradio interface
|
|
|
139 |
|
140 |
basemodel_choice = gr.Dropdown(
|
141 |
label="🖼️ Select Model",
|
142 |
+
choices=base_models,
|
143 |
value=base_models[0]
|
144 |
)
|
145 |
|