Skip to content

Generate quizzes from YouTube videos using LLM. A Streamlit app for educational content extraction.

Notifications You must be signed in to change notification settings

Sven-Bo/streamlit-quiztube

Repository files navigation

🧠 QuizTube: Transforming YouTube Videos into Quizzes with Streamlit

QuizTube offers an innovative approach to create interactive quizzes from YouTube video captions. By extracting captions using the youtube-transcript-api and subsequently processing the text with OpenAI's LLM, QuizTube serves as a powerful tool for enhancing video content interaction.

Video Tutorial

YouTube Video

Website Link

👉 Check out the app here: https://quiztube.streamlit.app/

How It Works

  1. Caption Extraction: Using the youtube-transcript-api, captions are extracted from a given YouTube video URL.
  2. Quiz Generation: The extracted captions are then fed into OpenAI's LLM using LangChain Python with a predefined prompt template. The model generates questions based on the content, turning the video's key points into an interactive quiz.
  3. Streamlit Integration: The quizzes are seamlessly integrated and displayed in a Streamlit app, providing users with a unique and interactive experience.

This project was developed as an entry for the Streamlit Hackathon in September 2023.

🤓 Check Out My Excel Add-ins

I've developed some handy Excel add-ins that you might find useful:

  • 📊 Dashboard Add-in: Easily create interactive and visually appealing dashboards.
  • 🎨 Cartoon Charts Add-In: Create engaging and fun cartoon-style charts.
  • 🤪 Emoji Add-in: Add a touch of fun to your spreadsheets with emojis.
  • 🛠️ MyToolBelt Add-in: A versatile toolbelt for Excel, featuring:
    • Creation of Pandas DataFrames and Jupyter Notebooks from Excel ranges
    • ChatGPT integration for advanced data analysis
    • And much more!

🤝 Connect with Me

Support

If you appreciate the project and wish to encourage its continued development, consider supporting my work. ko-fi

Feedback & Collaboration

For feedback, suggestions, or potential collaboration opportunities, reach out at [email protected]. Logo

About

Generate quizzes from YouTube videos using LLM. A Streamlit app for educational content extraction.

Resources

Stars

Watchers

Forks