|
|
@ -84,6 +84,7 @@ public class AskServiceImpl implements AskService {
|
|
|
|
talkVideoTtsResultResVO.setVoiceBase64(TtsUtil.ttsTransform(answer));
|
|
|
|
talkVideoTtsResultResVO.setVoiceBase64(TtsUtil.ttsTransform(answer));
|
|
|
|
talkVideoTtsResultResVO.setAnswerMessage(answer);
|
|
|
|
talkVideoTtsResultResVO.setAnswerMessage(answer);
|
|
|
|
} catch (Exception e) {
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
|
|
|
log.error("Talk error", e);
|
|
|
|
talkVideoTtsResultResVO.setVoiceBase64(TtsUtil.ttsTransform("I didn't hear what you were saying clearly, could you please repeat it?"));
|
|
|
|
talkVideoTtsResultResVO.setVoiceBase64(TtsUtil.ttsTransform("I didn't hear what you were saying clearly, could you please repeat it?"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return talkVideoTtsResultResVO;
|
|
|
|
return talkVideoTtsResultResVO;
|
|
|
|