This commit is contained in:
somebody
2022-10-14 17:36:09 -05:00
2 changed files with 6 additions and 3 deletions

View File

@@ -408,7 +408,7 @@ class koboldai_vars(object):
prompt_length = 0
prompt_text = ""
for item in action_text_split:
if -1 not in item[1]:
if -1 not in item[1] or item[3]:
#We've finished going through our prompt. Stop
break
if self.tokenizer is None:

View File

@@ -44,8 +44,11 @@
</button>
<select class="var_sync_model_selected_preset settings_select presets" onchange='sync_to_server(this)'><option>Preset</option></select>
{% if not on_colab %}
<div class="horde_trigger var_sync_alt_model_model"><input type=checkbox data-size="mini" data-onstyle="success" data-toggle="toggle" class='var_sync_system_horde_share' onchange='sync_to_server(this)'> Share with Horde </div>
<span class="helpicon material-icons-outlined" tooltip="Shares your GPU with other KoboldAI users. Does not share data/stories.">help_icon</span>
<div class="horde_trigger var_sync_alt_model_model">
<input type=checkbox data-size="mini" data-onstyle="success" data-toggle="toggle" class='var_sync_system_horde_share' onchange='sync_to_server(this)'> Share with Horde
<span class="helpicon material-icons-outlined" tooltip="Shares your GPU with other KoboldAI users. Does not share data/stories.">help_icon</span>
</div>
{% endif %}
</div>
</div>