Skip to content

Commit

Permalink
Update 2024-03-12-deepchat.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ibbsbbr authored Mar 12, 2024
1 parent ded2244 commit 6f1942a
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions _posts/2024-03-12-deepchat.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,22 @@ Transcribe your voice into text and control chat with commands.<br />
demo={true}
introMessage={{text: 'Click the microphone to start transcribing your speech.'}}
style={{borderRadius: '8px'}}
speechToText={{
webSpeech: true,
translations: {hello: 'goodbye', Hello: 'Goodbye'},
commands: {resume: 'resume', settings: {commandMode: 'hello'}},
button: {position: 'outside-left'},
speechToText:
webSpeech: true
translations: {hello: 'goodbye', Hello: 'Goodbye'}
commands: {resume: 'resume', settings: {commandMode: 'hello'}}
button: {position: 'outside-left'}
}}
></DeepChatBrowser>
</ComponentContainer>
And remove this line which is causing a Liquid syntax error:
{{ webSpeech: true, translations: {hello: 'goodbye', Hello: 'Goodbye'}

With those changes, your blog post should build successfully on GitHub Pages with Jekyll.



<Tabs>
<TabItem value="js" label="Sample code">

Expand Down

0 comments on commit 6f1942a

Please sign in to comment.