NicholaiVogel c5ccd14048 feat: Initial Whisper Transcription TUI implementation
- Added Textual-based TUI with file selection and progress monitoring

- Implemented transcription service with OpenAI API and local Whisper backends

- Added markdown formatter for transcription output

- Configuration management for persistent API keys and output directory

- Comprehensive README with installation and usage instructions

- Support for multi-file batch processing

- Beautiful terminal UI with modal dialogs for user input
2025-10-20 16:43:35 -06:00

27 lines
598 B
Python

#!/usr/bin/env python3
"""Whisper Transcription TUI - Main entry point."""
import sys
from pathlib import Path
# Add src to path for imports
sys.path.insert(0, str(Path(__file__).parent / "src"))
from app import TranscriptionApp
def main() -> None:
"""Run the transcription application."""
try:
app = TranscriptionApp()
app.run()
except KeyboardInterrupt:
print("\nApplication interrupted by user.")
sys.exit(0)
except Exception as e:
print(f"Error: {str(e)}", file=sys.stderr)
sys.exit(1)
if __name__ == "__main__":
main()