mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-16 15:38:37 +02:00
typo
This commit is contained in:
parent
9c693bd76f
commit
8efde22580
@ -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