Merge commit 'refs/pull/331/head' of https://github.com/ebolam/KoboldAI into UI2

This commit is contained in:
ebolam
2022-12-07 12:04:42 -05:00
11 changed files with 162 additions and 63 deletions

View File

@@ -86,7 +86,7 @@ def uspath(filename):
def getstoryfiles():
list = []
for file in listdir("stories"):
if file.endswith(".json"):
if file.endswith(".json") and not file.endswith(".v2.json"):
ob = {}
ob["name"] = file.replace(".json", "")
f = open("stories/"+file, "r")