Changed the Folder Structure for better maintainability

This commit is contained in:
MikeHughes-BIN
2025-11-13 17:34:22 +01:00
parent c021272ca4
commit 9254ddc57f
6 changed files with 0 additions and 0 deletions
@@ -0,0 +1,14 @@
import 'dotenv/config';
import assemblyModule from './assembly.ts';
// Test: URL passed as argument OR local file ./storage/audio/test.wav
const audioPath = process.argv[2] || './storage/audio/test.wav';
assemblyModule.run(audioPath)
.then(result => {
console.log('✅ Success!');
console.log('Transcript ID:', result.id);
})
.catch(error => {
console.error('❌ Error:', error?.message || error);
});