GithubHelp home page GithubHelp logo

gentonje / groqnotes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bklieger/groqnotes

0.0 0.0 0.0 42.16 MB

GroqNotes: Generate organized notes from audio using Groq, Whisper, and Llama3

Home Page: https://groqnotes.streamlit.app

License: MIT License

Python 98.14% Nix 1.86%

groqnotes's Introduction

License

Groqnotes: Generate organized notes from audio using Groq, Whisper, and Llama3

Groqnotes is a streamlit app that scaffolds the creation of structured lecture notes by iteratively parsing and generating notes from transcribed audio lectures using Groq's Whisper API. The app mixes Llama3-8b and Llama3-70b, utilizing the larger model for generating the notes structure and the faster of the two for creating the content.

groqnotes_demo_jun20_100.mov

Demo of Groqnotes fast transcription of audio and generation of structured notes


Features

  • ๐ŸŽง Generate structured notes 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 notes on the streamlit app that can include tables and code
  • ๐Ÿ“‚ Allows user to download a text or PDF file with the entire notes contents

Example Generated Notes:

Example Youtube Link
Transformers Explained by Google Cloud Tech https://www.youtube.com/watch?v=SZorAJ4I-sA
The Essence of Calculus by 3Blue1Brown https://www.youtube.com/watch?v=WUvTyaaNkzM

As with all generative AI, content may include inaccurate or placeholder information. Groqnotes is in beta and all feedback is welcome!


Quickstart

Important

To use Groqnotes, you can use a hosted version at groqnotes.streamlit.app or groqnotes.replit.app. Alternatively, you can run groqnotes locally with Streamlit using the quickstart instructions.

Hosted on Streamlit:

To use Groqnotes, you can use the hosted version at groqnotes.streamlit.app

Hosted on Replit:

You can also use the hosted version on replit at groqnotes.replit.app

The project can be forked on replit here: replit.com/@bklieger/groqnotes

Run locally:

Alternative, you can run groqnotes locally with streamlit.

Step 1

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.

Step 2

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

Step 3

Finally, you can run the streamlit app.

python3 -m streamlit run main.py

Details

Technologies

  • Streamlit
  • Llama3 on Groq Cloud
  • Whisper-large on Groq Cloud

Limitations

Groqnotes may generate inaccurate information or placeholder content. It should be used to generate notes for entertainment purposes only.

Contributing

Improvements through PRs are welcome!

Changelog

v0.1.0

This release is an initial release of the application codebase. It includes the following features:

๐ŸŽง Generate structured notes 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 notes on the streamlit app that can include tables and code

๐Ÿ“‚ Allows user to download a text or PDF file with the entire notes contents

Future Features:

  • Create summary version of transcript, batching into sections of n characters.
  • Allow upload of multiple audio files

groqnotes's People

Contributors

bklieger avatar untilhamza avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.