From 8be09644278ec89d956cef6c0a4d02733a2c6be3 Mon Sep 17 00:00:00 2001 From: Henk Date: Fri, 24 Jun 2022 18:29:06 +0200 Subject: [PATCH] AIDG Import Fix --- aiserver.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/aiserver.py b/aiserver.py index ebaa0da5..5187c28a 100644 --- a/aiserver.py +++ b/aiserver.py @@ -101,9 +101,9 @@ mainmenu = [ ["Adventure Models", "adventurelist", ""], ["Novel Models", "novellist", ""], ["NSFW Models", "nsfwlist", ""], + ["Untuned OPT", "optlist", ""], ["Untuned GPT-Neo/J", "gptneolist", ""], ["Untuned Fairseq Dense", "fsdlist", ""], - ["Untuned OPT", "optlist", ""], ["Untuned XGLM", "xglmlist", ""], ["Untuned GPT2", "gpt2list", ""], ["Online Services", "apilist", ""], @@ -167,6 +167,7 @@ gpt2list = [ ] optlist = [ + ["OPT 66B", "facebook/opt-66b", "128GB"], ["OPT 30B", "facebook/opt-30b", "64GB"], ["OPT 13B", "facebook/opt-13b", "32GB"], ["OPT 6.7B", "facebook/opt-6.7b", "16GB"], @@ -5357,6 +5358,11 @@ def importAidgRequest(id): vars.submission = "" vars.lastctx = "" + if not vars.memory: + vars.memory = "" + if not vars.authornote: + vars.authornote = "" + num = 0 for wi in js["worldInfos"]: vars.worldinfo.append({