Compare commits
1 Commits
fix/incorr
...
feat/task-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9cce0600e5 |
@@ -97,14 +97,11 @@ export default function InteractiveAvatar() {
|
||||
emotion: VoiceEmotion.EXCITED,
|
||||
},
|
||||
language: language,
|
||||
disableIdleTimeout: true,
|
||||
});
|
||||
|
||||
setData(res);
|
||||
// default to voice mode
|
||||
await avatar.current?.startVoiceChat({
|
||||
useSilencePrompt: false
|
||||
});
|
||||
await avatar.current?.startVoiceChat();
|
||||
setChatMode("voice_mode");
|
||||
} catch (error) {
|
||||
console.error("Error starting avatar session:", error);
|
||||
|
||||
@@ -28,7 +28,7 @@ export default function NavBar() {
|
||||
<Link
|
||||
isExternal
|
||||
color="foreground"
|
||||
href="https://labs.heygen.com/interactive-avatar"
|
||||
href="https://app.heygen.com/interactive-avatar"
|
||||
>
|
||||
Avatars
|
||||
</Link>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ai-sdk/openai": "^0.0.34",
|
||||
"@heygen/streaming-avatar": "^2.0.8",
|
||||
"@heygen/streaming-avatar": "^2.0.7",
|
||||
"@nextui-org/button": "2.0.34",
|
||||
"@nextui-org/chip": "^2.0.32",
|
||||
"@nextui-org/code": "2.0.29",
|
||||
|
||||
Reference in New Issue
Block a user