Skip to content

Conversation

@Moaz0009
Copy link

@Moaz0009 Moaz0009 commented Mar 1, 2025

Summary

This PR improves the model's flexibility by allowing it to accept NumPy arrays as input, in addition to previously supported .wav files.

Changes Made

✔️ Added support for real-time recorded audio (NumPy arrays).
✔️ Ensured backward compatibility with .wav files.
✔️ Updated input handling logic to distinguish between array and file input.

Why This Change?

Enables real-time audio processing without needing file storage.
Makes the model more versatile for different applications.

Testing

✅ Successfully tested with both .wav files and NumPy arrays.
✅ No breaking changes to existing .wav functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant