linoyts HF Staff commited on
Commit
b090ad7
·
verified ·
1 Parent(s): f9c7c13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -129,7 +129,7 @@ def classify_gallery(flux_loras):
129
  sorted_gallery = sorted(flux_loras, key=lambda x: x.get("likes", 0), reverse=True)
130
  return [(item["image"], item["title"]) for item in sorted_gallery], sorted_gallery
131
 
132
- def infer_with_lora_wrapper(input_image, prompt, selected_index, custom_lora, seed=42, randomize_seed=False, guidance_scale=2.5, lora_scale=1.0, flux_loras=None, progress=gr.Progress(track_tqdm=True)):
133
  """Wrapper function to handle state serialization"""
134
  return infer_with_lora(input_image, prompt, selected_index, custom_lora, seed, randomize_seed, guidance_scale, lora_scale, flux_loras, progress)
135
 
 
129
  sorted_gallery = sorted(flux_loras, key=lambda x: x.get("likes", 0), reverse=True)
130
  return [(item["image"], item["title"]) for item in sorted_gallery], sorted_gallery
131
 
132
+ def infer_with_lora_wrapper(input_image, prompt, selected_index, custom_lora, seed=42, randomize_seed=False, guidance_scale=2.5, lora_scale=1.75, flux_loras=None, progress=gr.Progress(track_tqdm=True)):
133
  """Wrapper function to handle state serialization"""
134
  return infer_with_lora(input_image, prompt, selected_index, custom_lora, seed, randomize_seed, guidance_scale, lora_scale, flux_loras, progress)
135