Project Media QA allows you to ask questions about any uploaded/recorded audio, youtube videos powered by Groq's whisper for speech to text transcription API and Groq's LLM API.
Before running the project, ensure you have the following:
- Python 3.10 (the project has been tested with this version)
- Groq API key
-
Set up your Groq API key as an environment variable:
export GROQ_API_KEY=<YOUR_API_KEY>
Replace
<YOUR_API_KEY>
with your actual Groq API key. -
Create a virtual environment:
virtualenv -p python3 venv
-
Activate the virtual environment:
source venv/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
To run the application locally, use the following command:
streamlit run app.py --server.port 8080 --server.address 0.0.0.0
This command starts the Streamlit application and makes it accessible at http://localhost:8080
.
- Launch the application by accessing
http://localhost:8080
in your web browser.
If you'd like to contribute to this project, please follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bug fix.
-
Make your changes and commit them with descriptive commit messages.
-
Push your changes to your forked repository.
-
Submit a pull request to the main repository, explaining your changes and their benefits.
This project is licensed under the MIT License.
If you have any questions or suggestions regarding this project, please feel free to contact the project maintainer at skapadia@groq.com.