zdwolfe
Joined 13 years ago
Karma
69
Submissions
55
Member since
Mar 20
https://twitter.com/zdwolfe
View on Hacker NewsJoined 13 years ago
Feature request: Deep-links so I can share or bookmark a 'preset'.
My favorite is Schrödinger's Microservice, which was fun to write https://zdwolfe.medium.com/schr%C3%B6dingers-microservice-c4...
from pytube import Channel
import whisper
channel_yt = Channel(channel_url)
video_yt = channel_yt.videos[0]
video_yt_stream = video_yt.streams.filter(mime_type="video/mp4").filter(res="720p").first()
video_yt_video_file_path = video_yt_stream.download()
audio = whisper.load_audio(video_yt_video_file_path)
model = whisper.load_model("tiny")
transcript = model.transcribe(audio)