mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 12:27:52 +00:00
compiled version
This commit is contained in:
parent
9e9f242247
commit
3806c60303
1
web/dist/assets/index-11bc7aad.css
vendored
1
web/dist/assets/index-11bc7aad.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
web/dist/assets/index-5df07201.css
vendored
Normal file
1
web/dist/assets/index-5df07201.css
vendored
Normal file
File diff suppressed because one or more lines are too long
13
web/dist/assets/stackoverflow-dark-7e41bf22.css
vendored
Normal file
13
web/dist/assets/stackoverflow-dark-7e41bf22.css
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
|
||||
Theme: StackOverflow Dark
|
||||
Description: Dark theme as used on stackoverflow.com
|
||||
Author: stackoverflow.com
|
||||
Maintainer: @Hirse
|
||||
Website: https://github.com/StackExchange/Stacks
|
||||
License: MIT
|
||||
Updated: 2021-05-15
|
||||
|
||||
Updated for @stackoverflow/stacks v0.64.0
|
||||
Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less
|
||||
Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less
|
||||
*/.hljs{color:#fff;background:#1c1b1b}.hljs-subst{color:#fff}.hljs-comment{color:#999}.hljs-attr,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-section,.hljs-selector-tag{color:#88aece}.hljs-attribute{color:#c59bc1}.hljs-name,.hljs-number,.hljs-quote,.hljs-selector-id,.hljs-template-tag,.hljs-type{color:#f08d49}.hljs-selector-class{color:#88aece}.hljs-link,.hljs-regexp,.hljs-selector-attr,.hljs-string,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#b5bd68}.hljs-meta,.hljs-selector-pseudo{color:#88aece}.hljs-built_in,.hljs-literal,.hljs-title{color:#f08d49}.hljs-bullet,.hljs-code{color:#ccc}.hljs-meta .hljs-string{color:#b5bd68}.hljs-deletion{color:#de7176}.hljs-addition{color:#76c490}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
|
13
web/dist/assets/stackoverflow-light-b5b5e2eb.css
vendored
Normal file
13
web/dist/assets/stackoverflow-light-b5b5e2eb.css
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
|
||||
Theme: StackOverflow Light
|
||||
Description: Light theme as used on stackoverflow.com
|
||||
Author: stackoverflow.com
|
||||
Maintainer: @Hirse
|
||||
Website: https://github.com/StackExchange/Stacks
|
||||
License: MIT
|
||||
Updated: 2021-05-15
|
||||
|
||||
Updated for @stackoverflow/stacks v0.64.0
|
||||
Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less
|
||||
Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less
|
||||
*/.hljs{color:#2f3337;background:#f6f6f6}.hljs-subst{color:#2f3337}.hljs-comment{color:#656e77}.hljs-attr,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-section,.hljs-selector-tag{color:#015692}.hljs-attribute{color:#803378}.hljs-name,.hljs-number,.hljs-quote,.hljs-selector-id,.hljs-template-tag,.hljs-type{color:#b75501}.hljs-selector-class{color:#015692}.hljs-link,.hljs-regexp,.hljs-selector-attr,.hljs-string,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#54790d}.hljs-meta,.hljs-selector-pseudo{color:#015692}.hljs-built_in,.hljs-literal,.hljs-title{color:#b75501}.hljs-bullet,.hljs-code{color:#535a60}.hljs-meta .hljs-string{color:#54790d}.hljs-deletion{color:#c02d2e}.hljs-addition{color:#2f6f44}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
|
8
web/dist/assets/tokyo-night-dark-a847eb67.css
vendored
Normal file
8
web/dist/assets/tokyo-night-dark-a847eb67.css
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
|
||||
Theme: Tokyo-night-Dark
|
||||
origin: https://github.com/enkia/tokyo-night-vscode-theme
|
||||
Description: Original highlight.js style
|
||||
Author: (c) Henri Vandersleyen <hvandersleyen@gmail.com>
|
||||
License: see project LICENSE
|
||||
Touched: 2022
|
||||
*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
|
4
web/dist/index.html
vendored
4
web/dist/index.html
vendored
@ -6,8 +6,8 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>GPT4All - WEBUI</title>
|
||||
<script type="module" crossorigin src="/assets/index-a01a2b86.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-11bc7aad.css">
|
||||
<script type="module" crossorigin src="/assets/index-1bbd7565.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-5df07201.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -834,10 +834,7 @@ export default {
|
||||
this.api_get_req("get_config").then(response => {
|
||||
console.log("Received config")
|
||||
this.configFile = response
|
||||
parts = configFile.personalities[configFile.default_personality_id].split('/')
|
||||
this.configFile.personality_language = parts[0]
|
||||
this.configFile.personality_category = parts[1]
|
||||
this.configFile.personality_folder = parts[2]
|
||||
extract_personality_parameters()
|
||||
|
||||
console.log(`p lang = ${this.configFile.personality_language }`)
|
||||
console.log(`p cat = ${this.configFile.personality_category }`)
|
||||
@ -860,6 +857,22 @@ export default {
|
||||
this.getPersonalitiesArr()
|
||||
this.fetchModels();
|
||||
},
|
||||
extract_personality_parameters(){
|
||||
try{
|
||||
let parts = this.configFile.personalities[this.configFile.default_personality_id].split('/')
|
||||
this.configFile.personality_language = parts[0]
|
||||
this.configFile.personality_category = parts[1]
|
||||
this.configFile.personality_folder = parts[2]
|
||||
|
||||
console.log(`p lang = ${this.configFile.personality_language }`)
|
||||
console.log(`p cat = ${this.configFile.personality_category }`)
|
||||
console.log(`p name = ${this.configFile.personality_folder }`)
|
||||
|
||||
}catch(error){
|
||||
console.log(`Exception : ${error}`)
|
||||
}
|
||||
|
||||
},
|
||||
// Accordeon stuff
|
||||
toggleAccordion() {
|
||||
this.showAccordion = !this.showAccordion;
|
||||
@ -1046,13 +1059,13 @@ export default {
|
||||
}
|
||||
|
||||
}
|
||||
console.log(this.configFile)
|
||||
console.log(this.configFile.personality_category)
|
||||
console.log(this.configFile.personality_language)
|
||||
console.log("Personalities")
|
||||
console.log(this.personalities)
|
||||
this.personalitiesFiltered = this.personalities.filter((item) => item.category === this.configFile.personality_category && item.language === this.configFile.personality_language)
|
||||
console.log("Personalities filtered")
|
||||
console.log(this.personalitiesFiltered)
|
||||
console.log(`Personalities filtered ${this.personalitiesFiltered}`)
|
||||
this.isLoading = false
|
||||
|
||||
},
|
||||
@ -1071,6 +1084,8 @@ export default {
|
||||
if (this.configFile.model_name) {
|
||||
this.isModelSelected = true
|
||||
}
|
||||
this.extract_personality_parameters();
|
||||
|
||||
this.fetchModels();
|
||||
this.bindingsArr = await this.api_get_req("list_bindings")
|
||||
this.modelsArr = await this.api_get_req("list_models")
|
||||
|
Loading…
Reference in New Issue
Block a user