From 680906c0f48e0d23ad15f26162267e48c161e2a3 Mon Sep 17 00:00:00 2001 From: talksik Date: Fri, 28 Apr 2023 15:56:43 -0700 Subject: [PATCH] playing too after record --- stt/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stt/app.py b/stt/app.py index 7aa5c92..f1925ed 100644 --- a/stt/app.py +++ b/stt/app.py @@ -40,7 +40,7 @@ while True: if state: if audioInstance.isRecording(): turnOffLED() - savedFileName = audioInstance.stopRecord(save=True, play=False) + savedFileName = audioInstance.stopRecord(save=True, play=True) if savedFileName is not None: print("saved file: " + savedFileName) # make a request with the saved file to the api