feat: replace Whisper with Deepgram ASR + speaker diarization

This commit is contained in:
OpenClaw Bot
2026-02-17 12:14:25 +08:00
parent ff72dd0c56
commit e85038a1fb
8 changed files with 299 additions and 2 deletions

10
frontend/app.js Normal file
View File

@@ -0,0 +1,10 @@
const API_BASE = '/api/v1';
async function upload(file) {
const formData = new FormData();
formData.append('file', file);
const res = await fetch(API_BASE + '/upload', {
method: 'POST',
body: formData
});
return await res.json();
}