When using granite-speech-4.1-2b in Python how can I set a custom prompt?
Example:
from crispasr import Session
sess = Session("granite-speech-4.1-2b-q4_k.gguf")
sess.set_ask("transcribe the speech with proper punctuation and capitalization.")
segs = sess.transcribe_vad(pcm, "silero-v5.1.2.bin")
This throws the following error: AttributeError: 'Session' object has no attribute 'set_ask'
When using
granite-speech-4.1-2bin Python how can I set a custom prompt?Example:
This throws the following error:
AttributeError: 'Session' object has no attribute 'set_ask'