diff options
| author | LLLL Colonq <llll@colonq> | 2025-03-13 21:30:13 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-03-13 21:30:13 -0400 |
| commit | b21ecce6645fc17c520b722de3d96e550c77c490 (patch) | |
| tree | ea43d01bd3e36c36eb7b43945ef662088aee3cb7 /src/wasp-ai.el | |
| parent | a2d075656ca6a07c6263eee588e15cf2ee802995 (diff) | |
Update
Diffstat (limited to 'src/wasp-ai.el')
| -rw-r--r-- | src/wasp-ai.el | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/wasp-ai.el b/src/wasp-ai.el index e279103e..1201ca5b 100644 --- a/src/wasp-ai.el +++ b/src/wasp-ai.el @@ -169,15 +169,16 @@ Double-check the output to make sure it sounds normal." (defun w/ai-transcribe (path k) "Transcribe the audio file at PATH and pass the resulting string to K." - (let ((request-curl-options '("-F" "model=whisper-1" "-F" "language=en"))) - (w/ai-openai-post-form - "/v1/audio/transcriptions" - `(("file" . ,(f-canonical path))) - (lambda (res) - (funcall - k - (-some-> res - (ht-get "text"))))))) + ) + ;; (let ((request-curl-options '("-F" "model=whisper-1" "-F" "language=en"))) + ;; (w/ai-openai-post-form + ;; "/v1/audio/transcriptions" + ;; `(("file" . ,(f-canonical path))) + ;; (lambda (res) + ;; (funcall + ;; k + ;; (-some-> res + ;; (ht-get "text"))))))) (provide 'wasp-ai) ;;; wasp-ai.el ends here |
