fix broken prompts from file

This commit is contained in:
AUTOMATIC 2023-05-11 14:49:14 +03:00
parent 9080af56dd
commit d274b8297e
2 changed files with 1 additions and 2 deletions

View File

@ -40,6 +40,7 @@
* Fix MPS on PyTorch 2.0.1, Intel Macs * 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 * 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 * 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 ## 1.1.1

View File

@ -103,8 +103,6 @@ def load_prompt_file(file):
return None, "\n".join(lines), gr.update(lines=7) return None, "\n".join(lines), gr.update(lines=7)
class Script(scripts.Script): class Script(scripts.Script):
def title(self): def title(self):
return "Prompts from file or textbox" return "Prompts from file or textbox"