Skip to content

Instantly share code, notes, and snippets.

View MuhammadShifa's full-sized avatar
🎯
Focusing

Muhammad Shifa MuhammadShifa

🎯
Focusing
View GitHub Profile
@juanmc2005
juanmc2005 / diart_whisper.py
Last active November 17, 2024 18:24
Code for my tutorial "Color Your Captions: Streamlining Live Transcriptions with Diart and OpenAI's Whisper". Available at https://medium.com/@juanmc2005/color-your-captions-streamlining-live-transcriptions-with-diart-and-openais-whisper-6203350234ef
import logging
import os
import sys
import traceback
from contextlib import contextmanager
import diart.operators as dops
import numpy as np
import rich
import rx.operators as ops
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.