jaemil
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by jaemil on 3/22/2024 in #djs-voice
Problem saving audioBuffer to file - whisper api
Hi,
how can i convert the audioBuffer into a e.g. wav file?
I want to use whisper for spech regognition.
this is my code:
The file is written successfully, but I can't play it (unrecognized file format)
I also tried to post audioBuffer directly, but that doesn't work either.
error: BadRequestError: 400 Could not parse multipart form
at APIError.generate (/home/git/discord-speech-recognition/examples/simpleBot/node_modules/openai/error.js:44:20)
at OpenAI.makeStatusError (/home/git/discord-speech-recognition/examples/simpleBot/node_modules/openai/core.js:263:33)
at OpenAI.makeRequest (/home/git/discord-speech-recognition/examples/simpleBot/node_modules/openai/core.js:306:30)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.resolveSpeechWithWhisper [as speechRecognition] (/home/git/discord-speech-recognition/examples/simpleBot/index.js:20:25) {
Can anyone help me with this? Thanks
8 replies
Problem with hosting authentication service
Hello,
i have a problem with hosting my nodejs express application (getting a 503). Frontend and backend is successfully running as excepted.
Link to auth server: https://auth.findnlink.com/
Service id: ffd2f9a6-afc0-4546-aa43-bc9b1935038a
const PORT = process.env.PORT || 3000;
const HOST = "0.0.0.0";
server.listen(PORT, HOST, () => {
console.log(
Findnlink Auth Server running on ${HOST}:${PORT});
app.emit("ready");
});
Thanks in advance26 replies