Spaces:
Running
on
Zero
Running
on
Zero
AlekseyCalvin
commited on
Commit
•
5736ba1
1
Parent(s):
c4501cb
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ os.environ["HF_HOME"] = cache_path
|
|
24 |
|
25 |
torch.backends.cuda.matmul.allow_tf32 = True
|
26 |
|
27 |
-
pipe = FluxPipeline.from_pretrained("John6666/
|
28 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|
29 |
|
30 |
# Load LoRAs from JSON file
|
@@ -171,7 +171,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
|
171 |
with gr.Column():
|
172 |
with gr.Row():
|
173 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.5)
|
174 |
-
steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=
|
175 |
|
176 |
with gr.Row():
|
177 |
width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
|
|
|
24 |
|
25 |
torch.backends.cuda.matmul.allow_tf32 = True
|
26 |
|
27 |
+
pipe = FluxPipeline.from_pretrained("John6666/fastflux-unchained-t5f16-fp8-flux", torch_dtype=torch.bfloat16)
|
28 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|
29 |
|
30 |
# Load LoRAs from JSON file
|
|
|
171 |
with gr.Column():
|
172 |
with gr.Row():
|
173 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.5)
|
174 |
+
steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=6)
|
175 |
|
176 |
with gr.Row():
|
177 |
width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
|