This repository contains two Python modules: ZoomTranscript Analyzer
and YouTube Video Summarizer
. These modules leverage the power of OpenAI's GPT models and various utilities from the LangChain community to analyze and summarize transcripts.
- Proofread and correct Zoom transcripts.
- Generate inline diff for original and proofread transcripts.
- Fetch and summarize YouTube video transcripts.
-
Clone this repository:
git clone https://git.txstate.edu/ane80/HodgePodge.git cd your_repository
-
Install the required dependencies:
pip install -r requirements.txt
-
Create a
.env
file and set your environment variables:OPENAI_API_KEY=your_openai_api_key
-
Run the Flask application:
python app.py
-
Open your web browser and go to
http://localhost:5000
to access the web interface.
/
: Home page and transcript uploading/youtube
: Fetch and summarize YouTube video transcript
proofread_transcript(transcript)
: Uses OpenAI's GPT model to proofread and correct the transcript.generate_inline_diff(original, proofread)
: Generates inline differences between the original and proofread transcripts.get_transcript_and_summary(video_id, language="en", translation="en")
: Fetches and summarizes the YouTube video transcript.