修复Python缩进错误
This commit is contained in:
parent
b87be1494d
commit
2612ef5b46
@ -276,7 +276,7 @@ class EnergyBasedRecorder:
|
||||
status = f"录音中... {recording_duration:.1f}s | 能量: {energy:.0f} | 静音: {current_time - self.last_sound_time:.1f}s"
|
||||
print(f"\r{status}", end='', flush=True)
|
||||
|
||||
else:
|
||||
else:
|
||||
# 监听模式
|
||||
if self.is_voice_active(energy):
|
||||
# 检测到声音,开始录音
|
||||
|
||||
Loading…
Reference in New Issue
Block a user