Commit d274b829 authored by AUTOMATIC's avatar AUTOMATIC

fix broken prompts from file

parent 9080af56
...@@ -40,6 +40,7 @@ ...@@ -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
......
...@@ -103,8 +103,6 @@ def load_prompt_file(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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment