mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 02:39:47 +00:00
added whisper api
This commit is contained in:
parent
aaba6fe1dd
commit
8a7ff03bda
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-604fe307.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-5e68e29d.css">
|
||||
<script type="module" crossorigin src="/assets/index-5c94dc41.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-ffe056f8.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -2052,6 +2052,48 @@
|
||||
|
||||
</table>
|
||||
</Card>
|
||||
<Card title="Open AI Whisper audio transcription" :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="openai_whisper_key" class="text-sm font-bold" style="margin-right: 1rem;">openai whisper key:</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex flex-row">
|
||||
<input
|
||||
type="text"
|
||||
id="openai_whisper_key"
|
||||
required
|
||||
v-model="configFile.openai_whisper_key"
|
||||
@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="openai_whisper_model" class="text-sm font-bold" style="margin-right: 1rem;">Open Ai Whisper model:</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex flex-row">
|
||||
<select
|
||||
id="openai_whisper_model"
|
||||
v-model="configFile.openai_whisper_model"
|
||||
@change="settingsChanged=true"
|
||||
class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
|
||||
>
|
||||
<!-- Options with language codes and corresponding language names -->
|
||||
<option v-for="whispermodel in whisperModels" :key="whispermodel" :value="whispermodel">
|
||||
{{ whispermodel }}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</Card>
|
||||
</Card>
|
||||
<Card title="TTT services" :is_shrunk="true" :is_subcard="true" class="pb-2 m-2">
|
||||
<Card title="Ollama service" :is_subcard="true" class="pb-2 m-2">
|
||||
|
Loading…
Reference in New Issue
Block a user