mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
working on implementing everything
Currently getting stuck on the assembly module as assembly ai for some fucking reason blocks me from making any requests This includes making a new user account
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
require('dotenv').config();
|
||||
|
||||
const API_KEY = process.env.API_KEY;
|
||||
const API_KEY = process.env.ASSEMBLYAI_API_KEY;
|
||||
const BASE_URL = 'https://api.assemblyai.com/v2';
|
||||
|
||||
//---------------------------------------------------Upload audio---------------------------------------------------
|
||||
@@ -93,11 +91,7 @@ module.exports = {
|
||||
async function(audioFileName) {
|
||||
try {
|
||||
// audioFileName ist nur "datei.mp3"
|
||||
const audioPath = path.join(
|
||||
__dirname,
|
||||
'../../../storage/audio',
|
||||
audioFileName
|
||||
);
|
||||
const audioPath = audioFileName;
|
||||
|
||||
let audioUrl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user