diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-05-11 11:49:14 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-05-13 05:18:49 +0000 |
commit | d274b8297e8588ce1ea08200935e46c100288de3 (patch) | |
tree | 3f9a1635bec0aae2001ee807451d06a6d8272faf | |
parent | 9080af56ddbe4128326a1007ac20bcf214d5b6a7 (diff) | |
download | stable-diffusion-webui-gfx803-d274b8297e8588ce1ea08200935e46c100288de3.tar.gz stable-diffusion-webui-gfx803-d274b8297e8588ce1ea08200935e46c100288de3.tar.bz2 stable-diffusion-webui-gfx803-d274b8297e8588ce1ea08200935e46c100288de3.zip |
fix broken prompts from file
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | scripts/prompts_from_file.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index cf3fef3d..1a0f7ae5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ * Fix MPS on PyTorch 2.0.1, Intel Macs
* make it so that custom context menu from contextMenu.js only disappears after user's click, ignoring non-user click events
* prevent Reload UI button/link from reloading the page when it's not yet ready
+ * fix prompts from file script failing to read contents from a drag/drop file
## 1.1.1
diff --git a/scripts/prompts_from_file.py b/scripts/prompts_from_file.py index 2378816f..b918a764 100644 --- a/scripts/prompts_from_file.py +++ b/scripts/prompts_from_file.py @@ -103,8 +103,6 @@ def load_prompt_file(file): return None, "\n".join(lines), gr.update(lines=7)
-
-
class Script(scripts.Script):
def title(self):
return "Prompts from file or textbox"
|