Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ with open("flux_loras.json", "r") as file:
|
|
| 31 |
"trigger_position": item.get("trigger_position", "prepend"),
|
| 32 |
"weights": item.get("weights", "pytorch_lora_weights.safetensors"),
|
| 33 |
"lora_type": item.get("lora_type", "flux"),
|
| 34 |
-
"lora_scale_config": item.get("lora_scale",
|
| 35 |
"prompt_placeholder": item.get("prompt_placeholder", ""),
|
| 36 |
}
|
| 37 |
for item in data
|
|
|
|
| 31 |
"trigger_position": item.get("trigger_position", "prepend"),
|
| 32 |
"weights": item.get("weights", "pytorch_lora_weights.safetensors"),
|
| 33 |
"lora_type": item.get("lora_type", "flux"),
|
| 34 |
+
"lora_scale_config": item.get("lora_scale", 1.5),
|
| 35 |
"prompt_placeholder": item.get("prompt_placeholder", ""),
|
| 36 |
}
|
| 37 |
for item in data
|