mirror of
https://github.com/howelljiang/baidu-voice.git
synced 2026-07-30 14:43:57 +08:00
修复误删_config_entry导至无法正常工作的BUG
This commit is contained in:
@@ -130,7 +130,7 @@ class BaiduSTTEntity(stt.SpeechToTextEntity):
|
||||
if "result" not in result or not result["result"]:
|
||||
return stt.SpeechResult(
|
||||
text=None,
|
||||
result=stt.SpeechResultState.NO_SPEECH_DETECTED,
|
||||
result=stt.SpeechResultState.SUCCESS,
|
||||
)
|
||||
|
||||
return stt.SpeechResult(
|
||||
|
||||
Reference in New Issue
Block a user