mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-17 00:23:14 +00:00
set cn_soft_edge_strength to 1.0 for previews
This commit is contained in:
@@ -245,6 +245,7 @@ async def process_video(request_style: str, video_path: str, style_filename, pos
|
||||
mapping_json = json.load(open(mappings_directory / MAPPING_NAME))
|
||||
|
||||
json_mods = style_json["modifications"]
|
||||
json_mods['cn_soft_edge_strength'] = 1.0
|
||||
jsonpath_mods = get_jsonpath_mods(json_mods, mapping_json, pos_in=positive_prompt, neg_in=negative_prompt)
|
||||
print(*jsonpath_mods.items(), sep="\n")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user