From 5dbbdb418907186e06d6002a44bc037338d85b1f Mon Sep 17 00:00:00 2001 From: ebolam Date: Wed, 7 Sep 2022 13:14:09 -0400 Subject: [PATCH] Fix --- aiserver.py | 2 +- static/koboldai.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aiserver.py b/aiserver.py index bf24a6c1..8c5cf2af 100644 --- a/aiserver.py +++ b/aiserver.py @@ -259,7 +259,7 @@ app.config['SESSION_TYPE'] = 'filesystem' app.config['TEMPLATES_AUTO_RELOAD'] = True Session(app) socketio = SocketIO(app, async_method="eventlet", manage_session=False, cors_allowed_origins='*') -#socketio = SocketIO(app, async_method="eventlet", logger=True, engineio_logger=True, manage_session=False) +#socketio = SocketIO(app, async_method="eventlet", manage_session=False, cors_allowed_origins='*', logger=True, engineio_logger=True) koboldai_vars = koboldai_settings.koboldai_vars(session, socketio) utils.koboldai_vars = koboldai_vars diff --git a/static/koboldai.js b/static/koboldai.js index ea515d45..103a98e9 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -219,7 +219,7 @@ function create_options(data) { i+=1; } //Add general options - //i=0; + i=0; for (item of data.value.action.Options) { if (!(item.Edited) && !(item['Previous Selection'])) { if (i < options.length) {