Skip to content

Commit 62e7c1b

Browse files
authored
fix: display "Local" instead of "OpenAI" for Whisper models in AI settings (#109)
1 parent 62015ee commit 62e7c1b

4 files changed

Lines changed: 33 additions & 13 deletions

File tree

Lines changed: 19 additions & 0 deletions
Loading
19.9 KB
Loading
Lines changed: 1 addition & 0 deletions
Loading

apps/desktop/src/constants/models.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export const AVAILABLE_MODELS: AvailableWhisperModel[] = [
146146
accuracy: 4.5,
147147
setup: "cloud",
148148
provider: "Amical Cloud",
149-
providerIcon: "/assets/logo.svg",
149+
providerIcon: "/assets/icon_logo.svg",
150150
},
151151
{
152152
id: "whisper-tiny",
@@ -177,8 +177,8 @@ export const AVAILABLE_MODELS: AvailableWhisperModel[] = [
177177
speed: 5.0,
178178
accuracy: 2.5,
179179
setup: "offline",
180-
provider: "OpenAI",
181-
providerIcon: "/icons/models/openai_dark.svg",
180+
provider: "Local",
181+
providerIcon: "/icons/models/local.svg",
182182
},
183183
{
184184
id: "whisper-base",
@@ -209,8 +209,8 @@ export const AVAILABLE_MODELS: AvailableWhisperModel[] = [
209209
speed: 4.0,
210210
accuracy: 3.0,
211211
setup: "offline",
212-
provider: "OpenAI",
213-
providerIcon: "/icons/models/openai_dark.svg",
212+
provider: "Local",
213+
providerIcon: "/icons/models/local.svg",
214214
},
215215
{
216216
id: "whisper-small",
@@ -242,8 +242,8 @@ export const AVAILABLE_MODELS: AvailableWhisperModel[] = [
242242
speed: 3.0,
243243
accuracy: 3.8,
244244
setup: "offline",
245-
provider: "OpenAI",
246-
providerIcon: "/icons/models/openai_dark.svg",
245+
provider: "Local",
246+
providerIcon: "/icons/models/local.svg",
247247
},
248248
{
249249
id: "whisper-medium",
@@ -274,8 +274,8 @@ export const AVAILABLE_MODELS: AvailableWhisperModel[] = [
274274
speed: 2.0,
275275
accuracy: 4.3,
276276
setup: "offline",
277-
provider: "OpenAI",
278-
providerIcon: "/icons/models/openai_dark.svg",
277+
provider: "Local",
278+
providerIcon: "/icons/models/local.svg",
279279
},
280280
{
281281
id: "whisper-large-v3",
@@ -306,8 +306,8 @@ export const AVAILABLE_MODELS: AvailableWhisperModel[] = [
306306
speed: 1.5,
307307
accuracy: 4.7,
308308
setup: "offline",
309-
provider: "OpenAI",
310-
providerIcon: "/icons/models/openai_dark.svg",
309+
provider: "Local",
310+
providerIcon: "/icons/models/local.svg",
311311
},
312312
{
313313
id: "whisper-large-v3-turbo",
@@ -338,7 +338,7 @@ export const AVAILABLE_MODELS: AvailableWhisperModel[] = [
338338
speed: 3.5,
339339
accuracy: 4.2,
340340
setup: "offline",
341-
provider: "OpenAI",
342-
providerIcon: "/icons/models/openai_dark.svg",
341+
provider: "Local",
342+
providerIcon: "/icons/models/local.svg",
343343
},
344344
];

0 commit comments

Comments
 (0)