Spaces:
Running
on
Zero
Running
on
Zero
AlekseyCalvin
commited on
Commit
•
74c046f
1
Parent(s):
2d2fd35
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ os.environ["HF_HOME"] = cache_path
|
|
23 |
|
24 |
torch.backends.cuda.matmul.allow_tf32 = True
|
25 |
|
26 |
-
pipe = FluxPipeline.from_pretrained("AlekseyCalvin/
|
27 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|
28 |
|
29 |
# Load LoRAs from JSON file
|
@@ -138,7 +138,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
|
138 |
)
|
139 |
# Info blob stating what the app is running
|
140 |
info_blob = gr.HTML(
|
141 |
-
"""<div id="info_blob"> Activist & Futurealist LoRa-stocked Img Manufactory (currently on Flux Schnell
|
142 |
)
|
143 |
|
144 |
# Info blob stating what the app is running
|
@@ -169,7 +169,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
|
169 |
with gr.Accordion("Advanced Settings", open=True):
|
170 |
with gr.Column():
|
171 |
with gr.Row():
|
172 |
-
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=
|
173 |
steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=6)
|
174 |
|
175 |
with gr.Row():
|
@@ -179,7 +179,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
|
179 |
with gr.Row():
|
180 |
randomize_seed = gr.Checkbox(True, label="Randomize seed")
|
181 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
|
182 |
-
lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=
|
183 |
|
184 |
gallery.select(
|
185 |
update_selection,
|
|
|
23 |
|
24 |
torch.backends.cuda.matmul.allow_tf32 = True
|
25 |
|
26 |
+
pipe = FluxPipeline.from_pretrained("AlekseyCalvin/HistoricColorSoonr_v2_FluxSchnell_Diffusers", torch_dtype=torch.bfloat16)
|
27 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|
28 |
|
29 |
# Load LoRAs from JSON file
|
|
|
138 |
)
|
139 |
# Info blob stating what the app is running
|
140 |
info_blob = gr.HTML(
|
141 |
+
"""<div id="info_blob"> Activist & Futurealist LoRa-stocked Img Manufactory (currently on our Historic Color Soon®v.2 Flux Schnell (2-8 steps) model checkpoint (at AlekseyCalvin/HistoricColorSoonrFluxV2) )</div>"""
|
142 |
)
|
143 |
|
144 |
# Info blob stating what the app is running
|
|
|
169 |
with gr.Accordion("Advanced Settings", open=True):
|
170 |
with gr.Column():
|
171 |
with gr.Row():
|
172 |
+
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=1.0)
|
173 |
steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=6)
|
174 |
|
175 |
with gr.Row():
|
|
|
179 |
with gr.Row():
|
180 |
randomize_seed = gr.Checkbox(True, label="Randomize seed")
|
181 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
|
182 |
+
lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=2.0, step=0.01, value=0.6)
|
183 |
|
184 |
gallery.select(
|
185 |
update_selection,
|