diff --git a/README.md b/README.md index e4b375d..a6c649a 100644 --- a/README.md +++ b/README.md @@ -130,9 +130,9 @@ if __name__ == '__main__': re = ACRCloudRecognizer(config) #recognize by file path, and skip 0 seconds from from the beginning of sys.argv[1]. - print re.recognize_by_file(sys.argv[1], 0) + print(re.recognize_by_file(sys.argv[1], 0)) buf = open(sys.argv[1], 'rb').read() #recognize by file_audio_buffer that read from file path, and skip 0 seconds from from the beginning of sys.argv[1]. - print re.recognize_by_filebuffer(buf, 0) + print(re.recognize_by_filebuffer(buf, 0)) ```