Spaces:
Runtime error

Peter Michael Gits Claude commited on
Commit
ac6f784
·
1 Parent(s): 9201e6d

Fix NumPy array writable warning in audio processing

Browse files

v1.4.2 - Minor fix: PyTorch non-writable tensor warning
- Added .copy() to audio_data before torch.from_numpy()
- Prevents: 'PyTorch does not support non-writable tensors' warning
- Improves memory safety during audio tensor conversion
- CPU transcription working well with client connections

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

1 file changed +3 -2
app.py+3-2