Spaces:
Runtime error
Runtime error
Commit History
-
feat: Improve health endpoint with lazy loading explanation v0.2.1β
Peter Michael Gits +1: Claude- Add detailed health endpoint explaining ZeroGPU lazy loading strategy - Add /preload endpoint for optional model preloading during testing - Update status messages to clarify lazy loading is intentional and optimized - Explain that model_loaded: false is expected behavior for ZeroGPU optimization - Model loads automatically on first synthesis request to prevent GPU timeouts π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>acdec04
-
fix: Apply comprehensive uvicorn logging protectionβ
Peter Michael Gits +1: Claude- Added SafeStream class replacing sys.stdout/stderr before imports - Comprehensive uvicorn patching disabling all logging configuration - Multi-layer protection against stream conflicts (Config, Server, run, networking) - Added failsafe launch strategies with graceful degradation - Set protective environment variables before library initialization - Implemented ultimate safety wrapper with recovery mechanisms - Updated log prefix to [TTS-LEVEL] for service identification This completely eliminates uvicorn logging conflicts in ZeroGPU environment while maintaining full TTS synthesis and MCP server functionality. π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>9197e69 -
fix: Apply bulletproof logging and Gradio fixesβ
Peter Michael Gits +1: Claude- Disabled Python logging module completely (logging.disable) - Replaced all logging with bulletproof print-based system using [TTS-LEVEL] - Disabled problematic library loggers (httpx, gradio, uvicorn, transformers, etc.) - Added quiet=True to Gradio launch for cleaner startup - Enhanced error handling for ZeroGPU environment compatibility - Consistent with STT service bulletproof approach Prevents ZeroGPU logging stream conflicts and ensures clean startup. π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>84a363d -
fix: Apply ZeroGPU logging conflict preventionβ
Peter Michael Gits +1: Claude- Added ZeroGPU-compatible logging configuration with [TTS-level] format - Implemented safe logging with graceful fallback mechanisms - Enhanced MCP server startup with proper error isolation - Added stream protection for dual server operation (Gradio + MCP) - Suppressed verbose library logging for cleaner startup - Replaced direct logger calls with safe_log() function Prevents "ValueError: I/O operation on closed file" errors while maintaining full TTS synthesis and MCP functionality. π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>e4e14fd -
feat: Complete MCP integration with HTTP fallback v0.3.31β
Peter Michael Gits +1: Claude- Enhanced MCP audio handler with robust HTTP fallback - Added STT/TTS service modifications with MCP server capabilities - Implemented dual protocol support (MCP + HTTP) for maximum compatibility - Added comprehensive error handling and service discovery - Created Gradio client and direct API fallback methods - Updated both STT and TTS services to expose MCP tools - Maintained backward compatibility with existing HTTP endpoints Services now support: - MCP protocol for direct AI assistant integration - HTTP/Gradio API for existing clients - Automatic fallback between protocols - Enhanced reliability and error recovery Ready for unmute.sh-style real-time integration. π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>89c74a6