Skip to content

Commit

Permalink
feat: done integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Jan 4, 2025
1 parent 75a0f4a commit 88a4119
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/stage/src/components/Widgets/Stage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useMarkdown } from '../../composables/markdown'
import { useQueue } from '../../composables/queue'
import { useDelayMessageQueue, useEmotionsMessageQueue, useMessageContentQueue } from '../../composables/queues'
import { llmInferenceEndToken } from '../../constants'
import { Voice } from '../../constants/elevenlabs'
import { Voice, voiceMap } from '../../constants/elevenlabs'
import { EMOTION_EmotionMotionName_value, EMOTION_VRMExpressionName_value, EmotionThinkMotionName } from '../../constants/emotions'
import { useAudioContext, useSpeakingStore } from '../../stores/audio'
import { useChatStore } from '../../stores/chat'
Expand Down Expand Up @@ -78,8 +78,8 @@ const ttsQueue = useQueue<string>({
})
const res = await generateSpeech({
...elevenlabs.speech({
model: 'eleven_multilingual_v2',
voice,
model: 'elevenlabs/eleven_multilingual_v2',
voice: voiceMap[voice],
voiceSettings: {
stability: 0.4,
similarityBoost: 0.5,
Expand Down
2 changes: 1 addition & 1 deletion packages/stage/src/stores/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const useSettings = defineStore('settings', () => {
const selectedAudioDeviceId = computed(() => selectedAudioDevice.value?.deviceId)
const { audioInputs } = useDevicesList({ constraints: { audio: true }, requestPermissions: true })

const elevenlabsVoiceEnglish = useLocalStorage<Voice>('settings/llm/elevenlabs/voice/en', Voice.Camilla_KM)
const elevenlabsVoiceEnglish = useLocalStorage<Voice>('settings/llm/elevenlabs/voice/en', Voice.Myriam)
const elevenlabsVoiceJapanese = useLocalStorage<Voice>('settings/llm/elevenlabs/voice/ja', Voice.Morioki)

watch(isAudioInputOn, (value) => {
Expand Down

0 comments on commit 88a4119

Please sign in to comment.