浏览代码

Minor changes

Kolja Beigel 1 年之前
父节点
当前提交
ddf96cfb6a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -147,8 +147,8 @@ def my_start_callback():
 def my_stop_callback():
 def my_stop_callback():
     print("Recording stopped!")
     print("Recording stopped!")
 
 
-recorder = AudioToTextRecorder(on_recording_started=my_start_callback,
-                               on_recording_finished=my_stop_callback)
+recorder = AudioToTextRecorder(on_recording_start=my_start_callback,
+                               on_recording_stop=my_stop_callback)
 ```
 ```