From 38ffce98cecbea1a5c88fb59e5518cc64d88c383 Mon Sep 17 00:00:00 2001 From: Adi Eyal Date: Thu, 9 Nov 2023 01:12:24 +0200 Subject: [PATCH] Upgraded to dynamicprompts 0.30.1 --- docs/CHANGELOG.md | 1 + pyproject.toml | 2 +- sd_dynamic_prompts/__init__.py | 2 +- sd_dynamic_prompts/wildcards_tab.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 7e5feaa1..56d2350f 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,4 @@ +- 2.17.0 Upgraded to dynamicprompts v0.30.1. Removed support for python 3.7 ([#98](https://github.com/adieyal/dynamicprompts/pull/98)), wildcard files now support weights ([#97](https://github.com/adieyal/dynamicprompts/pull/97)). Also added infrastructure to return additional metadata gatherered during sampling ([#100](https://github.com/adieyal/dynamicprompts/pull/100)). - 2.16.3 Refactoring and fixing [#601](https://github.com/adieyal/sd-dynamicprompts/issues/601) - 2.16.2 Refactor paths and magic prompt models file read - 2.16.1 Only using cross product when num_prompts is not provided diff --git a/pyproject.toml b/pyproject.toml index c13591bc..cb1e19d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] dependencies = [ "send2trash~=1.8", - "dynamicprompts[attentiongrabber,magicprompt]~=0.29.0", + "dynamicprompts[attentiongrabber,magicprompt]~=0.30.1", ] [tool.pytest.ini_options] diff --git a/sd_dynamic_prompts/__init__.py b/sd_dynamic_prompts/__init__.py index f6d2b7c9..a6b62ff3 100644 --- a/sd_dynamic_prompts/__init__.py +++ b/sd_dynamic_prompts/__init__.py @@ -1 +1 @@ -__version__ = "2.16.3" +__version__ = "2.17.0" diff --git a/sd_dynamic_prompts/wildcards_tab.py b/sd_dynamic_prompts/wildcards_tab.py index c490df1a..68587f73 100644 --- a/sd_dynamic_prompts/wildcards_tab.py +++ b/sd_dynamic_prompts/wildcards_tab.py @@ -264,7 +264,7 @@ def handle_load_wildcard(event: dict) -> str: else: # Otherwise, return a preview of the values, # with a header to indicate that the file can't be edited. - values = "\n".join(wf.get_values()) + values = "\n".join(str(val) for val in wf.get_values()) contents = f"# File can't be edited\n{values}" can_edit = False