AlekseyCalvin commited on
Commit
782b373
·
verified ·
1 Parent(s): 70d1bcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -28,7 +28,7 @@ os.environ["HF_HOME"] = cache_path
28
 
29
  torch.backends.cuda.matmul.allow_tf32 = True
30
 
31
- pipe = FluxPipeline.from_pretrained("AlekseyCalvin/HistoricColorSoonr_v2_FluxSchnell_Diffusers", ignore_mismatched_sizes=True, torch_dtype=torch.bfloat16)
32
  pipe.to(device="cuda", dtype=torch.bfloat16)
33
 
34
  model_id = ("zer0int/LongCLIP-GmP-ViT-L-14")
@@ -186,8 +186,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
186
  with gr.Accordion("Advanced Settings", open=True):
187
  with gr.Column():
188
  with gr.Row():
189
- cfg_scale = gr.Slider(label="CFG Scale", minimum=0, maximum=20, step=0.5, value=0.5)
190
- steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=6)
191
 
192
  with gr.Row():
193
  width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
@@ -196,7 +196,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
196
  with gr.Row():
197
  randomize_seed = gr.Checkbox(True, label="Randomize seed")
198
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
199
- lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=2.0, step=0.01, value=0.9)
200
 
201
  gallery.select(
202
  update_selection,
 
28
 
29
  torch.backends.cuda.matmul.allow_tf32 = True
30
 
31
+ pipe = FluxPipeline.from_pretrained("AlekseyCalvin/HSTcolor_FlexSoonr", ignore_mismatched_sizes=True, torch_dtype=torch.bfloat16)
32
  pipe.to(device="cuda", dtype=torch.bfloat16)
33
 
34
  model_id = ("zer0int/LongCLIP-GmP-ViT-L-14")
 
186
  with gr.Accordion("Advanced Settings", open=True):
187
  with gr.Column():
188
  with gr.Row():
189
+ cfg_scale = gr.Slider(label="CFG Scale", minimum=0, maximum=20, step=0.1, value=3.0)
190
+ steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=8)
191
 
192
  with gr.Row():
193
  width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
 
196
  with gr.Row():
197
  randomize_seed = gr.Checkbox(True, label="Randomize seed")
198
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
199
+ lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=2.0, step=0.01, value=1.0)
200
 
201
  gallery.select(
202
  update_selection,