mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2
This commit is contained in:
@@ -408,7 +408,7 @@ class koboldai_vars(object):
|
|||||||
prompt_length = 0
|
prompt_length = 0
|
||||||
prompt_text = ""
|
prompt_text = ""
|
||||||
for item in action_text_split:
|
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
|
#We've finished going through our prompt. Stop
|
||||||
break
|
break
|
||||||
if self.tokenizer is None:
|
if self.tokenizer is None:
|
||||||
|
@@ -44,8 +44,11 @@
|
|||||||
</button>
|
</button>
|
||||||
<select class="var_sync_model_selected_preset settings_select presets" onchange='sync_to_server(this)'><option>Preset</option></select>
|
<select class="var_sync_model_selected_preset settings_select presets" onchange='sync_to_server(this)'><option>Preset</option></select>
|
||||||
{% if not on_colab %}
|
{% 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>
|
<div class="horde_trigger var_sync_alt_model_model">
|
||||||
<span class="helpicon material-icons-outlined" tooltip="Shares your GPU with other KoboldAI users. Does not share data/stories.">help_icon</span>
|
<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 %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user