Skip to content

Commit

Permalink
increase audio assistant watch dog patience
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky authored Jul 30, 2023
1 parent 524684f commit e08bd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crazy_functions/语音助手.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def init(self, chatbot):
# 初始化音频采集线程
self.captured_audio = np.array([])
self.keep_latest_n_second = 10
self.commit_after_pause_n_second = 1.5
self.commit_after_pause_n_second = 2.0
self.ready_audio_flagment = None
self.stop = False
self.plugin_wd = WatchDog(timeout=5, bark_fn=self.__del__, msg="程序终止")
Expand Down

0 comments on commit e08bd96

Please sign in to comment.