Change `self.scores` to `scores` in aiserver.py

This commit is contained in:
Gnome Ann 2021-12-13 11:18:01 -05:00
parent a06cc3d37b
commit 28e86563b8
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ if(not vars.model in ["InferKit", "Colab", "OAI", "ReadOnly", "TPUMeshTransforme
self.halt = False
scores_shape = scores.shape
scores_list = self.scores.tolist()
scores_list = scores.tolist()
vars.lua_koboldbridge.logits = vars.lua_state.table()
for r, row in enumerate(scores_list):
vars.lua_koboldbridge.logits[r+1] = vars.lua_state.table(*row)