mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-04-06 18:36:42 +00:00
synced
This commit is contained in:
parent
bbfb339699
commit
370391093f
@ -1,5 +1,5 @@
|
||||
# =================== Lord Of Large Language Multimodal Systems Configuration file ===========================
|
||||
version: 124
|
||||
version: 125
|
||||
binding_name: null
|
||||
model_name: null
|
||||
model_variant: null
|
||||
@ -188,6 +188,8 @@ dall_e_generation_engine: "dall-e-3"
|
||||
|
||||
# Midjourney service key
|
||||
midjourney_key: ""
|
||||
midjourney_timeout: 300
|
||||
midjourney_retries: 1
|
||||
|
||||
# Image generation service comfyui
|
||||
enable_comfyui_service: false
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 984c94aed635525f38a101445dca34888e2af3b0
|
||||
Subproject commit 89c2d84f6ceb4b4d94a8b9cd9339217fca52602d
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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>LoLLMS WebUI - Welcome</title>
|
||||
<script type="module" crossorigin src="/assets/index-ce5299a4.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-2d36e3eb.css">
|
||||
<script type="module" crossorigin src="/assets/index-1f113d1b.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-28075c11.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -214,7 +214,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<DynamicUIRenderer class="w-full" :code="message.ui"></DynamicUIRenderer>
|
||||
<DynamicUIRenderer class="w-full" :id="`ui_${ui_componentKey}`" :code="message.ui"></DynamicUIRenderer>
|
||||
<audio controls v-if="audio_url!=null" :key="audio_url">
|
||||
<source :src="audio_url" type="audio/wav" ref="audio_player" >
|
||||
Your browser does not support the audio element.
|
||||
@ -314,6 +314,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
ui_componentKey:0,
|
||||
isSynthesizingVoice:false,
|
||||
cpp_block:cpp_block,
|
||||
html5_block:html5_block,
|
||||
@ -341,7 +342,8 @@ export default {
|
||||
mdRenderHeight: Number
|
||||
|
||||
}
|
||||
}, mounted() {
|
||||
},
|
||||
mounted() {
|
||||
// Check if speech synthesis is supported by the browser
|
||||
if ('speechSynthesis' in window) {
|
||||
this.speechSynthesis = window.speechSynthesis;
|
||||
@ -385,7 +387,8 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
}, methods: {
|
||||
},
|
||||
methods: {
|
||||
computeTimeDiff(startTime, endTime){
|
||||
let timeDiff = endTime.getTime() - startTime.getTime();
|
||||
|
||||
@ -765,6 +768,7 @@ export default {
|
||||
},
|
||||
'message.ui': function (newContent) {
|
||||
console.log("ui changed")
|
||||
this.ui_componentKey++;
|
||||
},
|
||||
showConfirmation() {
|
||||
nextTick(() => {
|
||||
|
@ -2726,6 +2726,44 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="min-width: 200px;">
|
||||
<label for="midjourney_timeout" class="text-sm font-bold" style="margin-right: 1rem;">request timeout(s):</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex flex-row">
|
||||
<input
|
||||
type="number"
|
||||
min=10
|
||||
max=2048
|
||||
id="midjourney_timeout"
|
||||
required
|
||||
v-model="configFile.midjourney_timeout"
|
||||
@change="settingsChanged=true"
|
||||
class="mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
|
||||
>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="min-width: 200px;">
|
||||
<label for="midjourney_retries" class="text-sm font-bold" style="margin-right: 1rem;">number of retries:</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex flex-row">
|
||||
<input
|
||||
type="number"
|
||||
min=0
|
||||
max=2048
|
||||
id="midjourney_retries"
|
||||
required
|
||||
v-model="configFile.midjourney_retries"
|
||||
@change="settingsChanged=true"
|
||||
class="mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
|
||||
>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</Card>
|
||||
<Card title="Dall-E" :is_subcard="true" class="pb-2 m-2">
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit bc1438ab776b035a40ed2449ab5d22c07508917a
|
||||
Subproject commit 3f46eae6ed5a72787390e0888bb6ddc8e7f170c7
|
Loading…
x
Reference in New Issue
Block a user