This script employs OpenAI's Whisper model for audio transcription, Mistral 7B for text summarization, and Gradio for interactivity. It configures the text generation pipeline, defines summarization helper functions, and integrates audio transcription with summarization. It's a powerful tool for interactive text summarization tasks.
This project is an interactive tool that combines the power of various state-of-the-art models for audio transcription, text summarization, and user interaction. It leverages the following technologies:
- OpenAI Whisper: A robust speech recognition model for audio transcription.
- Mistral 7B: A large language model for various text related tasks.
- Gradio: A user-friendly library for building interactive interfaces in Python.
- Audio Transcription: Transcribe audio files or recordings into text using OpenAI Whisper.
- Text Summarization: Generate concise summaries of lengthy text documents using Mistral 7B.
- Interactive Interface: Enjoy a seamless user experience with Gradio's intuitive interface.
- The Gradio interface will open in your default web browser.
- Upload an audio file to see the transcription and the summary in article format.
- Adjust the summarization parameters as desired.
- Click the "Summarize" button to generate the summary.
- OpenAI Whisper: A general-purpose speech recognition model.
- Mistral 7B: A large language model for text summarization.
- Gradio: A library for building interactive interfaces in Python.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.
Special thanks to the developers and researchers behind OpenAI Whisper, Mistral 7B, and Gradio for their incredible work.