Skip to content

Commit

Permalink
added default asr lang as or
Browse files Browse the repository at this point in the history
  • Loading branch information
prtkjakhar committed Mar 26, 2024
1 parent b98c99b commit db6f955
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const RenderVoiceRecorder = ({ setInputMsg, tapToSpeak, includeDiv = false }) =>
formData.append('phoneNumber', localStorage.getItem('phoneNumber'));

// Send the WAV data to the API
const resp = await fetch(apiEndpoint + `/aitools/asr?language=${localStorage.getItem('locale')}`, {
const resp = await fetch(apiEndpoint + `/aitools/asr?language=${localStorage.getItem('locale') || 'or'}`, {
method: 'POST',
body: formData,
});
Expand Down

0 comments on commit db6f955

Please sign in to comment.