Merge pull request #253 from LightSaveUs/UI2

Welcome Logo Fixes + Tooltips
This commit is contained in:
ebolam
2022-10-28 09:39:45 -04:00
committed by GitHub
4 changed files with 27 additions and 22 deletions

View File

@@ -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",

File diff suppressed because one or more lines are too long

View File

@@ -1626,14 +1626,13 @@ body {
grid-area: file; grid-area: file;
} }
.popup .item{ .popup .item {
width: 98%; width: 98%;
background-color: var(--popup_item_color); background-color: var(--popup_item_color);
color: var(--popup_item_color_text); color: var(--popup_item_color_text);
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 {
@@ -1699,7 +1698,7 @@ body {
} }
#error_message .popup_load_cancel{ #error_message .popup_load_cancel {
background-color: var(--error_title); background-color: var(--error_title);
color: var(--error_title_text); color: var(--error_title_text);
} }
@@ -2371,14 +2370,20 @@ body {
} }
#welcome-logo { #welcome-logo {
width: 50%; width: 50%;
display: block; top: 295px;
margin-top: 480px; display: block;
margin-left: auto; position: relative;
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 */

View File

@@ -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">