Condense, Comprehend and Connect with Gita...
The "Gita Summarizer" is an application designed to distill the profound teachings of the Bhagavad Gita into concise and comprehensible summaries. This tool leverages the capabilities of Azure Speech-to-Text
and LLMWare's powerful summarization models
to provide users with insightful summaries of the Gita's chapters and verses
-
Real-time Speech Input:
- Users can deliver speech directly through their microphone.
- The application promptly transcribes the speech in real-time.
- Summarized versions of the transcribed text are provided for streamlined understanding.
-
Upload Audio File:
- Users have the option to upload audio files in WAV format.
- The application processes the uploaded audio, transcribing it into text.
- Summaries of the transcribed text are automatically generated.
-
Interactive User Interface:
- Intuitive and user-friendly interface offering options for real-time speech input or file upload.
-
Speech Recognition and Summarization:
- Harnesses the power of Microsoft Azure's Speech-to-Text API for precise speech recognition.
- Incorporates LLMware's SLIM Summary Tool to condense transcribed text effectively.
-
Frontend:
- Streamlit: For building the interactive web interface.
-
Backend:
- Microsoft Azure Speech Service: Utilized for speech recognition tasks.
- LLMware's SLIM Summary Model: Employed for text summarization.
-
Languages and Libraries:
- Python: Primary programming language.
- Streamlit: Facilitates UI components and interactions.
- Requests: Enables HTTP requests to the speech recognition API.
- Azure.cognitiveservices.speech: Azure SDK utilized for managing speech-to-text functionality.
- Upon selecting "Real-time Speech Input," the application configures the microphone to capture user speech.
- Captured speech is then forwarded to Azure's Speech Service for transcription.
- The transcribed text undergoes summarization using the SLIM Summary Tool before being presented to the user.
- Users opting for "Upload Audio File" can upload their audio files directly.
- Uploaded files are sent to Azure's Speech Service via an HTTP POST request for transcription.
- Post transcription, the text is summarized using the SLIM Summary Tool and displayed to the user.
- Users can directly type or paste text into the app to receive an instant summary.
- The app processes the input text and provides a concise summary in seconds.
- Easily input text and get clear, summarized information with just a few clicks.
Demo.mp4
- Student Aid: Quickly grasp key concepts for study sessions and exams.
- Teaching Tool: Prepare breif summaries for lessons and sermons.
- Personal Reflection: Enhance spiritual practice with daily verse summaries.
- Group Discussions: Generate discussion points for study groups and book clubs.
- Content Creation: Create focused scripts and articles on the Bhagavad Gita.
To commence with GIta Summarizer:
- Ensure possession of a valid subscription key and service region for Microsoft Azure Speech Service.
- Clone the repository using
git clone https://github.com/Sgvkamalakar/Gita_Summarizer.git
- Install the requirements
pip install -r requirements.txt
- Configure the essential environment variables (subscription_key, service_region, token).
subscription_key="<subscription_key" service_region="<service_region>" token="<auth_token>"
- Run the Streamlit application and engage with it via the user-friendly web interface using the following command.
streamlit run app.py
Kamalakar Satapathi