mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 08:13:22 +01:00
typo
This commit is contained in:
parent
9c693bd76f
commit
8efde22580
@ -28,7 +28,7 @@ TASK_TEXT_MAPPING = {
|
||||
"use_hypernetwork_model": "Hypernetwork model",
|
||||
"hypernetwork_strength": "Hypernetwork Strength",
|
||||
"use_lora_model": "LoRA model",
|
||||
#"lora_alpha": "LoRA Strength",
|
||||
# "lora_alpha": "LoRA Strength",
|
||||
}
|
||||
|
||||
|
||||
@ -100,6 +100,9 @@ def get_metadata_entries_for_request(req: GenerateImageRequest, task_data: TaskD
|
||||
if task_data.use_lora_model is None:
|
||||
if "lora_alpha" in metadata:
|
||||
del metadata["lora_alpha"]
|
||||
|
||||
from easydiffusion import app
|
||||
|
||||
app_config = app.getConfig()
|
||||
if not app_config.get("test_diffusers", False) and "use_lora_model" in metadata:
|
||||
del metadata["use_lora_model"]
|
||||
|
Loading…
Reference in New Issue
Block a user