Skip to content

Instantly share code, notes, and snippets.

{
"represent": {
"Adj Count": 0,
"Total Count": 283,
"Verb Count": 283,
"Verb %": 11.20,
"Adj %": 0.00,
"Total %": 11.20,
"Noun Count": 0,
"Noun %": 0.00,

Keybase proof

I hereby claim:

  • I am samiur on github.
  • I am samiur (https://keybase.io/samiur) on keybase.
  • I have a public key whose fingerprint is A7F4 587A 2488 DDFA B9FF ACB8 A275 551E BB8B DA0F

To claim this, I am signing this object:

@samiur
samiur / audio_utils.py
Created November 15, 2023 16:44
Example of using FFMPEG and Deepgram to do multispeaker transcription
import asyncio
import os
from typing import Literal, NamedTuple, cast
import aiofiles
SupportedFormats = Literal['opus', 'wav', 'aac']
class FormatInfo(NamedTuple):