mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
update:优化
This commit is contained in:
parent
bec32bd085
commit
471ad864b6
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ public class VoiceCloneServiceImpl extends BaseServiceImpl<VoiceCloneDao, VoiceC
|
||||||
if (statusCode != null && statusCode == 0 && StringUtils.isNotBlank(speakerId)) {
|
if (statusCode != null && statusCode == 0 && StringUtils.isNotBlank(speakerId)) {
|
||||||
entity.setTrainStatus(2);
|
entity.setTrainStatus(2);
|
||||||
entity.setVoiceId(speakerId);
|
entity.setVoiceId(speakerId);
|
||||||
entity.setTrainError(null);
|
entity.setTrainError("");
|
||||||
baseDao.updateById(entity);
|
baseDao.updateById(entity);
|
||||||
} else {
|
} else {
|
||||||
// 失败时使用StatusMessage作为错误信息
|
// 失败时使用StatusMessage作为错误信息
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue