AlekseyCalvin commited on
Commit
0efad99
1 Parent(s): aa31c7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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/AuraFlux_merge_diffusers", torch_dtype=torch.bfloat16)
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 (Running on Experimental Merge of Flux Dev and AuraFlow)</div>"""
142
  )
143
 
144
  # Info blob stating what the app is running
@@ -170,7 +170,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
170
  with gr.Column():
171
  with gr.Row():
172
  cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.0)
173
- steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=20)
174
 
175
  with gr.Row():
176
  width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
@@ -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=2.0, step=0.01, value=0.5)
183
 
184
  gallery.select(
185
  update_selection,
 
23
 
24
  torch.backends.cuda.matmul.allow_tf32 = True
25
 
26
+ pipe = FluxPipeline.from_pretrained("AlekseyCalvin/Flux_Dedistilled_Mix_byWikeeyang_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 Fast FLUX De-Distilled LoRA Gallery (Running on the the FLUX De-Distilled Mix Tuned V1 by wikeeyang)</div>"""
142
  )
143
 
144
  # Info blob stating what the app is running
 
170
  with gr.Column():
171
  with gr.Row():
172
  cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.0)
173
+ steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=10)
174
 
175
  with gr.Row():
176
  width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
 
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=1.0)
183
 
184
  gallery.select(
185
  update_selection,