diff --git a/README.md b/README.md
index 3ee3474..ceafe4d 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
[![made-with-python][Python]](https://www.python.org/)
-
[![License: MIT][MIT]](LICENSE)
+
@@ -14,13 +14,15 @@
### Screenshots
+
-
+
+
## Usage
-Everyone of the 6 nodes have a different `json` file that stores its Prompt Terms in "label"/"value" pairs.
+Every one of the 6 nodes have a different `json` file that stores its Prompt Terms in "label"/"value" pairs.
The "label" part is what we see at the node's dropdown menu, and the "value" part is what it produces at its `Term` output when we run a generation job.
These `json` files are located inside the `TermLists` directory, in the node's folder.
@@ -31,10 +33,11 @@ There are two ways to add a new term.
value=blabla bla blabla blab
Enable the `store_input` switch.
Run a generation job.
+ Refresh the page.
* Manually, open the `json` file and add/remove/change entries.
Of course we must be very careful with this, to keep the `json` format of labels/values (with the appropriate commas), otherwise the file will not be parsed.
-This `text` input is also useful if we want to manually add something *after* our term, or as the *only* term if we select the `None` label.
+This `text` input is also useful if we want to manually add something *after* our term, or as the *only* term if we select the `None` label of the dropdown.
## Installation
diff --git a/nodes.py b/nodes.py
index 5e55776..066cc4c 100644
--- a/nodes.py
+++ b/nodes.py
@@ -35,7 +35,6 @@ class PromptTermList:
"""
try:
with io.open(json_file_path, mode="r", encoding="utf-8") as f:
- # global data
cls.data = json.load(f)
cls.data_labels = list(cls.data.items())
except FileNotFoundError:
@@ -64,7 +63,6 @@ class PromptTermList:
:type text: str
:param text: The text input
"""
- # global data
lines = text.splitlines()
if not len(lines) > 1:
self.has_error = True
@@ -149,7 +147,6 @@ NODE_CLASS_MAPPINGS = {"PromptTermList1": PromptTermList1,
"PromptTermList6": PromptTermList6
}
-# A dictionary that contains the friendly/humanly readable titles for the nodes
NODE_DISPLAY_NAME_MAPPINGS = {"PromptTermList1": "PromptTermList 1",
"PromptTermList2": "PromptTermList 2",
"PromptTermList3": "PromptTermList 3",