RealtimeSTT icon indicating copy to clipboard operation
RealtimeSTT copied to clipboard

wakeword_backend "pvporcupine" is not free?

Open sangheonEN opened this issue 3 months ago • 6 comments

wakeword_backend: str = "pvporcupine",

If you look at the contents of https://pypi.org/project/pvporcupine/,

Create an instance of the engine

import pvporcupine

access_key = "${ACCESS_KEY}" # AccessKey obtained from Picovoice Console (https://console.picovoice.ai/)

handle = pvporcupine.create(access_key=access_key, keywords=['picovoice'])

When creating a model, access_key is required.

However, in the wakeword_test.py code of RealTimeSTT, access_key is not assigned when creating as shown below.

Are you providing a free version of the model yourself?

from RealtimeSTT import AudioToTextRecorder import logging

if name == 'main':

def recording_started():
    print("Speak now...")

def recording_finished():
    print("Speech end detected... transcribing...")

with AudioToTextRecorder(spinner=False, level=logging.DEBUG, model="small.en", language="en", wake_words="jarvis", on_wakeword_detected=recording_started, on_recording_stop=recording_finished
    ) as recorder:
    print('Say "Jarvis" then speak.')
    print(recorder.text())
    print("Done. Now we should exit.")

sangheonEN avatar Nov 12 '24 04:11 sangheonEN