Skip to content

Commit

Permalink
Merge pull request #663 from adieyal/bug/explicitly-convert-wildcards…
Browse files Browse the repository at this point in the history
…-to-string

Upgraded to dynamicprompts 0.30.1
  • Loading branch information
adieyal authored Nov 8, 2023
2 parents e07ff1d + 38ffce9 commit b1ea7bd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion sd_dynamic_prompts/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.16.3"
__version__ = "2.17.0"
2 changes: 1 addition & 1 deletion sd_dynamic_prompts/wildcards_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b1ea7bd

Please sign in to comment.