removed allwords
This commit is contained in:
parent
dab827ed39
commit
1c8285cba8
@ -97,11 +97,10 @@ class WhisperPrompt: ObservableObject {
|
||||
let basePrompt = languagePrompts[selectedLanguage] ?? languagePrompts["default"]!
|
||||
|
||||
var prompt = basePrompt
|
||||
var allWords = ["VoiceInk"]
|
||||
allWords.append(contentsOf: dictionaryWords)
|
||||
|
||||
if !allWords.isEmpty {
|
||||
prompt += "\nImportant words: " + allWords.joined(separator: ", ")
|
||||
// Add dictionary words directly, without any prefix
|
||||
if !dictionaryWords.isEmpty {
|
||||
prompt += "\n VoiceInk, " + dictionaryWords.joined(separator: ", ")
|
||||
}
|
||||
|
||||
transcriptionPrompt = prompt
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user