verify thought process: TS and python serverless functions
im making the backend for a chrome extension that downloads the mp4 audio file from a youtube video and runs it through the whisper api from openai
i have a job queue table in my DB that tracks the status of jobs that are queued for 1. downloading audio from YT or 2. running audio through whisper
i have a supabase edge function (deno so only TS is supported) that will download audio and save to supabase storage
for the 2nd serverless function to run an audio file through whisper, im not sure how to tackle it since whisper is in python. should i make a vercel serverless function with python runtime?
i was just playing around in a google colab python notebook to see if i could do everything (download audio, and run through whisper) all at once. so i know the code works when it's altogether, but this approach is splitting it up
kind of noob, but want to learn. looking for some direction here
2 Replies