mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Merge pull request #253 from LightSaveUs/UI2
Welcome Logo Fixes + Tooltips
This commit is contained in:
@@ -69,7 +69,7 @@ gensettingstf = [
|
|||||||
"max": 1.0,
|
"max": 1.0,
|
||||||
"step": 0.01,
|
"step": 0.01,
|
||||||
"default": 1.0,
|
"default": 1.0,
|
||||||
"tooltip": "Alternative sampling method. It is recommended to disable top_p and top_k (set top_p to 1 and top_k to 0) if this setting is used. 0.95 is an optimal value for this setting. (Put this value on 1 to disable its effect)",
|
"tooltip": "Alternative sampling method. It is recommended to disable top_p and top_k (set top_p to 1 and top_k to 0) if this setting is used. 0.95 is a suggested value for this setting. (Put this value on 1 to disable its effect)",
|
||||||
"menu_path": "Settings",
|
"menu_path": "Settings",
|
||||||
"sub_path": "Sampling",
|
"sub_path": "Sampling",
|
||||||
"classname": "model",
|
"classname": "model",
|
||||||
@@ -84,7 +84,7 @@ gensettingstf = [
|
|||||||
"max": 1.0,
|
"max": 1.0,
|
||||||
"step": 0.01,
|
"step": 0.01,
|
||||||
"default": 1.0,
|
"default": 1.0,
|
||||||
"tooltip": "Alternative sampling method. Described in the paper \"Typical Decoding for Natural Language Generation\" (10.48550/ARXIV.2202.00666). The paper suggests 0.2 as an optimal value for this setting. (Put this value on 1 to disable its effect)",
|
"tooltip": "Alternative sampling method. Described in the paper \"Typical Decoding for Natural Language Generation\" (10.48550/ARXIV.2202.00666). The paper suggests 0.2 as a suggested value for this setting. (Put this value on 1 to disable its effect)",
|
||||||
"menu_path": "Settings",
|
"menu_path": "Settings",
|
||||||
"sub_path": "Sampling",
|
"sub_path": "Sampling",
|
||||||
"classname": "model",
|
"classname": "model",
|
||||||
@@ -174,7 +174,7 @@ gensettingstf = [
|
|||||||
"max": 5,
|
"max": 5,
|
||||||
"step": 1,
|
"step": 1,
|
||||||
"default": 1,
|
"default": 1,
|
||||||
"tooltip": "Number of outputs to generate per action. Increases VRAM/RAM usage.",
|
"tooltip": "Number of generated output choices. Increases VRAM/RAM usage.",
|
||||||
"menu_path": "Settings",
|
"menu_path": "Settings",
|
||||||
"sub_path": "Generation",
|
"sub_path": "Generation",
|
||||||
"classname": "model",
|
"classname": "model",
|
||||||
@@ -310,7 +310,7 @@ gensettingstf = [
|
|||||||
"max": 1,
|
"max": 1,
|
||||||
"step": 1,
|
"step": 1,
|
||||||
"default": 0,
|
"default": 0,
|
||||||
"tooltip": "Disables the effect of userscripts.",
|
"tooltip": "Disables the userscripts' ability to edit output.",
|
||||||
"menu_path": "Settings",
|
"menu_path": "Settings",
|
||||||
"sub_path": "Modifiers",
|
"sub_path": "Modifiers",
|
||||||
"classname": "user",
|
"classname": "user",
|
||||||
@@ -379,7 +379,7 @@ gensettingstf = [
|
|||||||
"max": 1,
|
"max": 1,
|
||||||
"step": 1,
|
"step": 1,
|
||||||
"default": 0,
|
"default": 0,
|
||||||
"tooltip": "Adds context menu to output showing what other words were considered as it was generated.",
|
"tooltip": "Adds context menu to the output showing what other words were considered as it was generated.",
|
||||||
"menu_path": "Interface",
|
"menu_path": "Interface",
|
||||||
"sub_path": "UI",
|
"sub_path": "UI",
|
||||||
"classname": "user",
|
"classname": "user",
|
||||||
@@ -579,7 +579,7 @@ gensettingstf = [
|
|||||||
"max": 1,
|
"max": 1,
|
||||||
"step": 1,
|
"step": 1,
|
||||||
"default": 0,
|
"default": 0,
|
||||||
"tooltip": "If enabled, experimental functions will be displayed in the UI.",
|
"tooltip": "If enabled, experimental features will be displayed in the UI.",
|
||||||
"menu_path": "Interface",
|
"menu_path": "Interface",
|
||||||
"sub_path": "UI",
|
"sub_path": "UI",
|
||||||
"classname": "system",
|
"classname": "system",
|
||||||
@@ -641,7 +641,7 @@ gensettingsik =[{
|
|||||||
"max": 1.0,
|
"max": 1.0,
|
||||||
"step": 0.05,
|
"step": 0.05,
|
||||||
"default": 0.0,
|
"default": 0.0,
|
||||||
"tooltip": "Alternative sampling method. It is recommended to disable (set to 0) top_p and top_k if this setting is used. 0.95 is an optimal value for this setting. (Put this value on 1 to disable its effect)",
|
"tooltip": "Alternative sampling method. It is recommended to disable (set to 0) top_p and top_k if this setting is used. 0.95 is a suggested value for this setting. (Put this value on 1 to disable its effect)",
|
||||||
"menu_path": "Model",
|
"menu_path": "Model",
|
||||||
"sub_path": "Sampling",
|
"sub_path": "Sampling",
|
||||||
"classname": "model",
|
"classname": "model",
|
||||||
|
@@ -594,9 +594,9 @@ class model_settings(settings):
|
|||||||
self.oaiapikey = "" # API key to use for OpenAI API calls
|
self.oaiapikey = "" # API key to use for OpenAI API calls
|
||||||
self.configname = None
|
self.configname = None
|
||||||
self.online_model = ''
|
self.online_model = ''
|
||||||
self.welcome_default = """<img id='welcome-logo' src='static/Welcome_Logo.png' draggable='False'><br/>Please load a model from the left.<br/>
|
self.welcome_default = """<img id='welcome-logo' src='static/Welcome_Logo.png' draggable='False'><div id="welcome-text-content">Please load a model from the left.<br/>
|
||||||
If you encounter any issues, please click the Download debug dump link in the Home tab on the left flyout and attach the downloaded file to your error report on <a href='https://github.com/ebolam/KoboldAI/issues'>Github</a>, <a href='https://www.reddit.com/r/KoboldAI/'>Reddit</a>, or <a href='https://discord.gg/XuQWadgU9k'>Discord</a>.
|
If you encounter any issues, please click the Download debug dump link in the Home tab on the left flyout and attach the downloaded file to your error report on <a href='https://github.com/ebolam/KoboldAI/issues'>Github</a>, <a href='https://www.reddit.com/r/KoboldAI/'>Reddit</a>, or <a href='https://discord.gg/XuQWadgU9k'>Discord</a>.
|
||||||
A redacted version (without story text) is available.""" # Custom Welcome Text
|
A redacted version (without story text) is available.</div>""" # Custom Welcome Text
|
||||||
self.welcome = self.welcome_default
|
self.welcome = self.welcome_default
|
||||||
self.koboldai_vars = koboldai_vars
|
self.koboldai_vars = koboldai_vars
|
||||||
|
|
||||||
|
@@ -1633,7 +1633,6 @@ body {
|
|||||||
margin: 5px 0 5px 1%;
|
margin: 5px 0 5px 1%;
|
||||||
border-radius: var(--radius_item_popup);
|
border-radius: var(--radius_item_popup);
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup .item:hover {
|
.popup .item:hover {
|
||||||
@@ -2372,13 +2371,19 @@ body {
|
|||||||
|
|
||||||
#welcome-logo {
|
#welcome-logo {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
top: 295px;
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 480px;
|
position: relative;
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
pointer-events: none;
|
margin-left: auto;
|
||||||
transform: translateY(-200px);
|
|
||||||
max-width: 720px;
|
max-width: 720px;
|
||||||
|
filter: drop-shadow(5px 5px 5px #222);
|
||||||
|
}
|
||||||
|
|
||||||
|
#welcome-text-content {
|
||||||
|
position: relative;
|
||||||
|
top: 520px;
|
||||||
|
left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Popups */
|
/* Popups */
|
||||||
|
@@ -213,7 +213,7 @@
|
|||||||
<!---Top Row---->
|
<!---Top Row---->
|
||||||
<span class="setting_label">
|
<span class="setting_label">
|
||||||
<span style="white-space: pre-wrap;">Enabled Userscripts: </span>
|
<span style="white-space: pre-wrap;">Enabled Userscripts: </span>
|
||||||
<span class="helpicon material-icons-outlined" tooltip="Allows to activate userscripts that affect generation.">help_icon</span>
|
<span class="helpicon material-icons-outlined" tooltip="Allows to activate userscripts that modify the game's functionality.">help_icon</span>
|
||||||
</span>
|
</span>
|
||||||
<!---Bottom Row---->
|
<!---Bottom Row---->
|
||||||
<span class="setting_item">
|
<span class="setting_item">
|
||||||
|
Reference in New Issue
Block a user