feat: Implement WebRTC integration following unmute.sh pattern
Peter Michael Gits+1: Claude
af83599
- Add comprehensive Streamlit app with WebRTC voice interface
- Implement JavaScript client following unmute.sh methodology:
* MediaRecorder with 250ms chunks for real-time streaming
* WebM/Opus format (16kHz, mono) for optimal quality
* Flush trick implementation for end-of-stream processing
* Automatic chunking and buffering with status updates
- Create FastAPI WebSocket server for WebRTC endpoint handling
- Add Nginx reverse proxy to work within HF Spaces single-port constraint:
* Main app on port 7860 (HF requirement)
* Streamlit on internal port 8501
* FastAPI WebSocket on internal port 8001
* Proxy routing: / -> Streamlit, /ws/webrtc/ -> FastAPI
- Integrate with existing WebRTC handler for STT/TTS services
- Real-time bidirectional voice communication ready
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
fix: Switch to Streamlit SDK to bypass VS Code detection
Peter Michael Gits+1: Claude
f3e809e
- Change from Gradio to Streamlit SDK to avoid HF's Python development environment setup
- Create simple streamlit_app.py with basic functionality test
- Ultra-minimal requirements.txt with just streamlit and basic utilities
- This should avoid the openvscode-server installation completely
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>