mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-11 07:23:05 +00:00
added override
This commit is contained in:
parent
5665482912
commit
cf57ccb7e7
@ -200,7 +200,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<!-- MODEL -->
|
||||
<!-- MODEL CONFIGURATION -->
|
||||
<div
|
||||
class="flex flex-col mb-2 p-3 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg">
|
||||
<div class="flex flex-row">
|
||||
@ -212,6 +212,24 @@
|
||||
</button>
|
||||
</div>
|
||||
<div :class="{ 'hidden': mc_collapsed }" class="flex flex-col mb-2 p-2">
|
||||
<div class="m-2">
|
||||
|
||||
<div class="flex flex-row gap-3 items-center">
|
||||
|
||||
<input id="override-model-parameters" type="checkbox"
|
||||
class="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500"
|
||||
@click.stop v-model="configFile.override_personality_model_parameters" @change="update_setting('override_personality_model_parameters', configFile.override_personality_model_parameters)">
|
||||
<label for="override-model-parameters" class="block text-sm font-medium ">
|
||||
Override personality model parameters
|
||||
</label>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- DISABLE PARAMETER SELECTION -->
|
||||
<div :class="!configFile.override_personality_model_parameters ? 'pointer-events-none opacity-30' : ''">
|
||||
|
||||
|
||||
<div class="m-2">
|
||||
<label for="seed" class="block mb-2 text-sm font-medium ">
|
||||
Seed:
|
||||
@ -346,6 +364,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- sdasdas -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -882,7 +902,8 @@ export default {
|
||||
isModelSelected(val) {
|
||||
|
||||
console.log('iss selected:', val)
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -891,7 +912,7 @@ export default {
|
||||
|
||||
|
||||
<style>
|
||||
.loader {
|
||||
/* .loader {
|
||||
border: 4px solid #f3f3f3;
|
||||
border-top: 4px solid #3498db;
|
||||
border-radius: 50%;
|
||||
@ -914,4 +935,5 @@ export default {
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}</style>
|
||||
} */
|
||||
</style>
|
@ -1,41 +1,39 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: ["./index.html","./src/**/*.{vue,js,ts,jsx,tsx}", 'node_modules/flowbite-vue/**/*.{js,jsx,ts,tsx}'],
|
||||
content: [
|
||||
'./index.html',
|
||||
'./src/**/*.{vue,js,ts,jsx,tsx}',
|
||||
'node_modules/flowbite-vue/**/*.{js,jsx,ts,tsx}'
|
||||
],
|
||||
darkMode: 'class',
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
"primary": "#0e8ef0",
|
||||
"primary-light": "#3dabff",
|
||||
"secondary": "#0fd974",
|
||||
"accent": "#f0700e",
|
||||
"bg-dark": "#132e59",
|
||||
"bg-dark-tone": "#25477d",
|
||||
"bg-dark-tone-panel": "#4367a3",
|
||||
"bg-dark-code-block": "#2254a7",
|
||||
"bg-light": "#e2edff",
|
||||
"bg-light-tone": "#b9d2f7",
|
||||
"bg-light-code-block": "#cad7ed",
|
||||
"bg-light-tone-panel": "#8fb5ef",
|
||||
"bg-dark-discussion": "#435E8A",
|
||||
"bg-dark-discussion-odd": "#284471",
|
||||
"bg-light-discussion": "#c5d8f8",
|
||||
"bg-light-discussion-odd": "#d6e7ff",
|
||||
primary: '#0e8ef0',
|
||||
'primary-light': '#3dabff',
|
||||
secondary: '#0fd974',
|
||||
accent: '#f0700e',
|
||||
'bg-dark': '#132e59',
|
||||
'bg-dark-tone': '#25477d',
|
||||
'bg-dark-tone-panel': '#4367a3',
|
||||
'bg-dark-code-block': '#2254a7',
|
||||
'bg-light': '#e2edff',
|
||||
'bg-light-tone': '#b9d2f7',
|
||||
'bg-light-code-block': '#cad7ed',
|
||||
'bg-light-tone-panel': '#8fb5ef',
|
||||
'bg-dark-discussion': '#435E8A',
|
||||
'bg-dark-discussion-odd': '#284471',
|
||||
'bg-light-discussion': '#c5d8f8',
|
||||
'bg-light-discussion-odd': '#d6e7ff'
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ["PTSans","Roboto", "sans-serif"],
|
||||
sans: ['PTSans', 'Roboto', 'sans-serif']
|
||||
},
|
||||
container: {
|
||||
padding: "2rem",
|
||||
center: true,
|
||||
},
|
||||
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
require('flowbite/plugin'),
|
||||
require('tailwind-scrollbar'),
|
||||
|
||||
]
|
||||
padding: '2rem',
|
||||
center: true
|
||||
}
|
||||
}
|
||||
},
|
||||
plugins: [require('flowbite/plugin'), require('tailwind-scrollbar')]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user