mirror of
https://github.com/aljazceru/nostrdvm.git
synced 2025-12-24 09:24:21 +01:00
auto generate keys/dtagsl auto update user profiles, sdimg2img
This commit is contained in:
@@ -82,9 +82,9 @@ class ImageGenerationSDXL(DVMTaskInterface):
|
||||
elif tag.as_vec()[1] == "lora_weight":
|
||||
lora_weight = tag.as_vec()[2]
|
||||
elif tag.as_vec()[1] == "strength":
|
||||
strength = tag.as_vec()[2]
|
||||
strength = float(tag.as_vec()[2])
|
||||
elif tag.as_vec()[1] == "guidance_scale":
|
||||
guidance_scale = tag.as_vec()[2]
|
||||
guidance_scale = float(tag.as_vec()[2])
|
||||
elif tag.as_vec()[1] == "ratio":
|
||||
if len(tag.as_vec()) > 3:
|
||||
ratio_width = (tag.as_vec()[2])
|
||||
|
||||
Reference in New Issue
Block a user