elizabethsiegle / stephensmithify-openaivision-sendgrid

Analyze a Video and generate commentary about it with OpenAI's GPT-4V, Text-to-speech, LangChain, Streamlit, Replit, Twilio SendGrid, and OpenCV!

Home Page:https://www.replit.com/@LizzieSiegle/stephensmithify-openaivision-sendgrid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

header image

Generate NBA Commentary in the style of someone with Stephen Smith-like qualities using

You can test out the app on Replit here or play with the code on Replit here

Thank you to my coworker and AccelerateSF teammate Chris Brox for helping with the YouTube video!

Prereqs

You'll add your secret keys to Replit as such New Secret

Replit secret keys

Dependencies:

  • moviepy to help process video and audio
  • cv2 (OpenCV) to help handle video frames
  • langchain to read and parse a CSV for relevant statistics
  • openai for OpenAI's GPT-4V and text-to-speech (TTS) APIs
  • requests for making HTTP requests to OpenAI's API
  • streamlit to create a web-based UI in Python
  • tempfile to help handle temporary files while processing

These are added to Replit by clicking on packages:

Replit packages

About

Analyze a Video and generate commentary about it with OpenAI's GPT-4V, Text-to-speech, LangChain, Streamlit, Replit, Twilio SendGrid, and OpenCV!

https://www.replit.com/@LizzieSiegle/stephensmithify-openaivision-sendgrid


Languages

Language:Python 89.1%Language:C++ 6.9%Language:Cython 2.5%Language:C 1.1%Language:JavaScript 0.3%Language:Fortran 0.0%Language:Roff 0.0%Language:Smarty 0.0%Language:Forth 0.0%Language:Meson 0.0%Language:Jinja 0.0%Language:Shell 0.0%Language:HTML 0.0%Language:CMake 0.0%Language:Batchfile 0.0%Language:Nix 0.0%