This application allows users to upload a video through a Streamlit interface. Once uploaded, the backend processes the video by extracting audio, generating a transcript using OpenAI's Whisper API, and then creating a summary using OpenAI's GPT-4 model. The application is built using Streamlit for the frontend and FastAPI for the backend.
- Upload a video file through the Streamlit interface.
- Generate a transcript of the audio from the video using OpenAI Whisper.
- Generate a summary of the transcript using OpenAI's GPT-4 model.
- The backend provides JSON responses with both the transcript and summary.
To deploy this project run:
First install the requirements
pip install -r requirements.txtAdd your OpenAI API key to the .env file
OPENAI_API_KEY=your_openai_api_keyTo start the fastapi backend:
fastapi run app.pyTo start the Streamlit:
streamlit run streamlit.py