Spaces:
Sleeping
Sleeping
Commit History
-
Fix: Initial runtime errors with integration
Mike W2e0855f -
Fix: Initial runtime errors with integration
Mike Wf0821d0 -
Fix: Initial runtime errors with integration
Mike Wc8c7d92 -
Fix: Initial runtime errors with integration
Mike W9cbfee0 -
feat: Create web application for voice translator
google-labs-jules[bot]This commit transforms the command-line voice translator into a web application with a FastAPI backend and a simple HTML/JS frontend. Key changes include: - Refactoring the `VoiceTranslator` class into a separate `translator.py` module and adapting it to use asyncio queues for audio I/O. - Creating a `server.py` with a WebSocket endpoint to handle real-time audio streaming. - Implementing server-side audio conversion from WebM to PCM using FFmpeg. - Adding an `index.html` file for the user interface. - Including a `Dockerfile` and `packages.txt` for deployment on HuggingFace Spaces. - Updating `requirements.txt` with the necessary web and audio processing dependencies. - Revising the `README.md` with instructions for running the web app locally and deploying it.d6fcf92