This web application converts spoken content from videos into text and generates relevant tags using OpenAI's GPT-3 API.
Follow these steps to set up and run the project locally:
- Python 3
- Virtualenv
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
For Windows:
venv\Scripts\activate
-
For macOS/Linux:
source venv/bin/activate
-
-
Install the required packages:
pip install -r requirements.txt
python app.py
Visit http://localhost:5000/index in your browser to access the application.
Make sure to set your OpenAI GPT-3 API key in the app.py file:
openai.api_key = 'your OpenAI GPT-3 API key'
- Access the web application at http://localhost:5000/index.
- Upload a video file for conversion.
- Receive the converted text and generated tags.
This project utilizes Flask, MoviePy, SpeechRecognition, and OpenAI's GPT-3 API.