A Streamlit web application that transforms your documents into interactive flashcards using advanced NLP models. Simply upload a PDF, DOCX, or TXT file โ and get a summarized version along with intelligent Q&A flashcards for active learning.
- ๐ Supports file uploads: PDF, DOCX, and TXT
- ๐ค AI-based text summarization using
facebook/bart-large-cnn - โ Auto-generates question-answer pairs from summaries using
valhalla/t5-base-qg-hl - ๐ง Leverages spaCy for Named Entity Recognition (NER)
- ๐ Interactive flip-style flashcards built with HTML & CSS
- โก Responsive, easy-to-use interface built with Streamlit
Upload your documents โ Get summaries โ Practice with flashcards!

Here are the most impactful upgrades planned for the Flashcard Generator:
-
๐ Editable Flashcards
Allow users to edit, delete, or manually add flashcards for personalized learning. -
๐ฅ Export Flashcards
Enable users to download flashcards in formats like PDF, CSV, or JSON for offline use or study apps. -
๐ Keyword-Based QA Generation
Let users select key topics or entities to guide question generation more precisely. -
๐ Progress Tracking
Add visual indicators to track which flashcards have been reviewed, known, or flagged. -
๐ User Login & History
Implement authentication so users can save documents, revisit previous flashcard sets, and track history. -
โ๏ธ Streamlit Cloud Deployment
Deploy the app online via Streamlit Cloud or Hugging Face Spaces for public access without setup.
-
Streamlit
-
Hugging Face Transformers
-
spaCy NLP
Contributions, suggestions, and forks are highly encouraged!
If youโd like to improve this project:
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature-name - Commit your changes:
git commit -m "Add your feature" - Push to your fork:
git push origin feature/your-feature-name - Open a Pull Request on GitHub
Whether it's fixing bugs, improving performance, or adding features โ your input is welcome! ๐