update receive transcript

This commit is contained in:
misyaguziya
2023-06-30 18:20:39 +09:00
parent 98cf5a81f8
commit 5374591ef8
2 changed files with 30 additions and 31 deletions

View File

@@ -5,8 +5,8 @@ import custom_speech_recognition as sr
from datetime import timedelta
import pyaudiowpatch as pyaudio
PHRASE_TIMEOUT = 3.05
MAX_PHRASES = 2
PHRASE_TIMEOUT = 3
MAX_PHRASES = 10
class AudioTranscriber:
def __init__(self, speaker, source, language):