Overview • Features • Quickstart • Contributing
BlogWizardDemo.mp4
Demo of BlogWizard fast transcription of audio and generation of structured blog.
BlogWizard is a streamlit app that scaffolds the creation of blogs by iteratively structuring and generating blogs from transcribed audio lectures using Groq's Whisper API. The app mixes Llama3-8b and Llama3-70b, utilizing the larger model for generating the blog structure and the faster of the two for creating the content.
- 🎧 Generate a structured blog using transcribed audio by Whisper-large and text by Llama3
- ⚡ Lightning fast speed transcribing audio and generating text using Groq
- 📖 Scaffolded prompting strategically switches between Llama3-70b and Llama3-8b to balance speed and quality
- 🖊️ Markdown styling creates aesthetic blog posts on the streamlit app that can include tables and code
- 📂 Allows user to download a text or PDF file with the entire blog contents
Important
To use BlogWizard, you can use a hosted version at https://blogwizard.groqlabs.com/. Alternatively, you can run BlogWizard locally with Streamlit using the quickstart instructions.
Alternative, you can run BlogWizard locally with streamlit.
First, you can set your Groq API key in the environment variables:
export GROQ_API_KEY="gsk_yA..."
This is an optional step that allows you to skip setting the Groq API key later in the streamlit app.
Next, you can set up a virtual environment and install the dependencies.
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
Finally, you can run the streamlit app.
python3 -m streamlit run main.py
- Streamlit
- Llama3 on Groq Cloud
- Whisper-large on Groq Cloud
- PyDub to take the first
- It is recommented to use python3.12
Audio files greater than 25mb or YouTube videos longer than 19 minutes will be trimmed down to those thresholds amounts listed and then summarized.
BlogWizard may generate inaccurate information or placeholder content. It should be used to generate notes for entertainment purposes only.
Improvements through PRs are welcome!
Adapted from ScribeWizard by Ben Klieger