Spaces:
Runtime error
Runtime error
Download voice_control/__init__.py from nifty-coder/stemsplit-backend: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/spaces/nifty-coder/stemsplit-backend/resolve/main/voice_control/__init__.py
- Command line
-
hf download hf://spaces/nifty-coder/stemsplit-backend/voice_control/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/nifty-coder/stemsplit-backend/resolve/main/voice_control/__init__.py
1.11 kB
| """ | |
| Voice Control Optimization Module | |
| This module provides a multi-provider speech-to-text system with intelligent fallback, | |
| rate limiting, and cost monitoring for the AI music application. | |
| """ | |
| __version__ = "1.0.0" | |
| __author__ = "AI Music App Team" | |
| from .models import ( | |
| ProviderConfig, | |
| TranscriptionResult, | |
| UsageStats, | |
| ProviderStatus, | |
| ProcessedAudio, | |
| CacheStats, | |
| CostSummary, | |
| BudgetAlert, | |
| QuotaStatus, | |
| WordTimestamp, | |
| AudioSegment | |
| ) | |
| from .interfaces import ( | |
| STTProvider, | |
| ProviderManagerInterface, | |
| RateLimiterInterface, | |
| AudioProcessorInterface, | |
| CacheManagerInterface, | |
| CostMonitorInterface | |
| ) | |
| __all__ = [ | |
| # Data Models | |
| "ProviderConfig", | |
| "TranscriptionResult", | |
| "UsageStats", | |
| "ProviderStatus", | |
| "ProcessedAudio", | |
| "CacheStats", | |
| "CostSummary", | |
| "BudgetAlert", | |
| "QuotaStatus", | |
| "WordTimestamp", | |
| "AudioSegment", | |
| # Interfaces | |
| "STTProvider", | |
| "ProviderManagerInterface", | |
| "RateLimiterInterface", | |
| "AudioProcessorInterface", | |
| "CacheManagerInterface", | |
| "CostMonitorInterface" | |
| ] |