asr/app/whisper/generate.dspy
2024-08-03 17:27:14 +08:00

5 lines
169 B
Plaintext

path = params_kw.get('audiofile')
print(f'whisper.generate.dspy, {params_kw=}, {file_realpath=}, {stt_engine=}' )
x = await stt_engine.stt(file_realpath(path))
return x