added diffusers client

This commit is contained in:
Saifeddine ALOUI 2024-08-29 14:51:55 +02:00
parent a9472f1ae1
commit 4a36ea1ba2
6 changed files with 206 additions and 178 deletions

View File

@ -1,5 +1,5 @@
# =================== Lord Of Large Language Multimodal Systems Configuration file ===========================
version: 134
version: 135
binding_name: null
model_name: null
model_variant: null
@ -102,7 +102,7 @@ copy_to_clipboard_add_all_details: false
# -------------------- Services global configurations --------------------------
# Select the active test to speach, text to image and speach to text services
active_tts_service: "None" # xtts (offline), openai_tts (API key required), elevenlabs_tts (API key required)
active_tti_service: "None" # autosd (offline), dall-e (online)
active_tti_service: "None" # autosd (offline), diffusers (offline), diffusers_client (online), dall-e (online), midjourney (online)
active_stt_service: "None" # whisper (offline), asr (offline or online), openai_whiosper (API key required)
active_ttm_service: "None" # musicgen (offline)
active_ttv_service: "None" # cog_video_x (offline)
@ -183,9 +183,13 @@ sd_base_url: http://localhost:7860
enable_fooocus_service: false
fooocus_base_url: http://localhost:7860
# diffuser
# diffusers
diffusers_offloading_mode: sequential_cpu_offload # sequential_cpu_offload
diffusers_model: PixArt-alpha/PixArt-Sigma-XL-2-1024-MS
diffusers_model: v2ray/stable-diffusion-3-medium-diffusers
# diffusers client
diffusers_client_base_url: http://localhost:8593
# Dall e service key
dall_e_key: ""

@ -1 +1 @@
Subproject commit 9d19668e9a57e991d33a44daa5816b436b4ecb51
Subproject commit d2b4036e575ac3bdea8a0f32dd9a5374ccd07927

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
View File

@ -6,8 +6,8 @@
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI</title>
<script type="module" crossorigin src="/assets/index-0d154971.js"></script>
<link rel="stylesheet" href="/assets/index-30c8ee0f.css">
<script type="module" crossorigin src="/assets/index-0ea89304.js"></script>
<link rel="stylesheet" href="/assets/index-41e49800.css">
</head>
<body>
<div id="app"></div>

View File

@ -1761,6 +1761,7 @@
>
<option value="None">None</option>
<option value="diffusers">Diffusers</option>
<option value="diffusers_client">Diffusers Client</option>
<option value="autosd">AUTO1111's SD</option>
<option value="dall-e">Open AI DALL-E</option>
<option value="midjourney">Midjourney</option>
@ -2974,6 +2975,29 @@
</tr>
</table>
</Card>
<Card title="Diffusers client service" :is_subcard="true" class="pb-2 m-2">
<table class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
<tr>
<td style="min-width: 200px;">
<label for="diffusers_client_base_url" class="text-sm font-bold" style="margin-right: 1rem;">Diffusers client base url:</label>
</td>
<td>
<div class="flex flex-row">
<input
type="text"
id="diffusers_client_base_url"
required
v-model="configFile.diffusers_client_base_url"
@change="settingsChanged=true"
class="mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
>
</div>
</td>
<td>
</td>
</tr>
</table>
</Card>
<Card title="Midjourney" :is_subcard="true" class="pb-2 m-2">
<table class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
<tr>