diff --git a/src/api/transcriptions.py b/src/api/transcriptions.py index 5c56467..15ea115 100644 --- a/src/api/transcriptions.py +++ b/src/api/transcriptions.py @@ -99,7 +99,7 @@ async def create_transcription( try: # Validate file type - allowed_extensions = {'.mp3', '.mp4', '.mpeg', '.mpga', '.m4a', '.wav', '.webm'} + allowed_extensions = {'.mp3', '.mp4', '.mpeg', '.mpga', '.m4a', '.wav', '.webm', '.ogg', '.oga', '.opus', '.flac'} file_ext = os.path.splitext(file.filename)[1].lower() if file_ext not in allowed_extensions: