AIDG Import Fix

This commit is contained in:
Henk 2022-06-24 18:29:06 +02:00
parent 27e16aecf2
commit 8be0964427

View File

@ -101,9 +101,9 @@ mainmenu = [
["Adventure Models", "adventurelist", ""], ["Adventure Models", "adventurelist", ""],
["Novel Models", "novellist", ""], ["Novel Models", "novellist", ""],
["NSFW Models", "nsfwlist", ""], ["NSFW Models", "nsfwlist", ""],
["Untuned OPT", "optlist", ""],
["Untuned GPT-Neo/J", "gptneolist", ""], ["Untuned GPT-Neo/J", "gptneolist", ""],
["Untuned Fairseq Dense", "fsdlist", ""], ["Untuned Fairseq Dense", "fsdlist", ""],
["Untuned OPT", "optlist", ""],
["Untuned XGLM", "xglmlist", ""], ["Untuned XGLM", "xglmlist", ""],
["Untuned GPT2", "gpt2list", ""], ["Untuned GPT2", "gpt2list", ""],
["Online Services", "apilist", ""], ["Online Services", "apilist", ""],
@ -167,6 +167,7 @@ gpt2list = [
] ]
optlist = [ optlist = [
["OPT 66B", "facebook/opt-66b", "128GB"],
["OPT 30B", "facebook/opt-30b", "64GB"], ["OPT 30B", "facebook/opt-30b", "64GB"],
["OPT 13B", "facebook/opt-13b", "32GB"], ["OPT 13B", "facebook/opt-13b", "32GB"],
["OPT 6.7B", "facebook/opt-6.7b", "16GB"], ["OPT 6.7B", "facebook/opt-6.7b", "16GB"],
@ -5357,6 +5358,11 @@ def importAidgRequest(id):
vars.submission = "" vars.submission = ""
vars.lastctx = "" vars.lastctx = ""
if not vars.memory:
vars.memory = ""
if not vars.authornote:
vars.authornote = ""
num = 0 num = 0
for wi in js["worldInfos"]: for wi in js["worldInfos"]:
vars.worldinfo.append({ vars.worldinfo.append({