Files
notecast/main.py
T
svlqd ecbbbfd5d1 Minor update
- added transcription folder with checker and transcription modules
- logger is a separated module now
2025-09-06 23:36:33 +03:00

13 lines
353 B
Python

from transcription.audio_transcription import AudioTranscription
from transcription.torch_checker import check_torch
from utils.logger import setup_logger
logger = setup_logger("main")
check_torch()
try:
track = AudioTranscription("sample.mp3")
print(track.transcribe_audio())
except Exception as e:
logger.error(f"Execution error: {e}")