Skip to content

About

Generate Q&A flashcards from any text or PDF using DeepSeek API. Supports English and Chinese. Built with Streamlit.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

📚 AI Flashcard Generator

A reading flashcard tool powered by the DeepSeek API. Paste text or upload a PDF, enter keywords, and get AI-generated Q&A flashcards instantly. Supports both English and Chinese.

Features

  • Paste text or upload a PDF as reading material
  • Enter keywords and let AI generate question-answer pairs
  • Supports English and Chinese content
  • Enter your API Key in the sidebar — no code changes needed

Installation

pip install -r requirements.txt

Usage

streamlit run app.py

Once running, enter your DeepSeek API Key in the sidebar (get one at platform.deepseek.com), then:

  1. Choose input method: paste text or upload a PDF
  2. Enter keywords (comma-separated)
  3. Click "Generate Flashcards"

Dependencies

Package Purpose
streamlit Web interface
openai DeepSeek API calls
pymupdf PDF text extraction

About

Generate Q&A flashcards from any text or PDF using DeepSeek API. Supports English and Chinese. Built with Streamlit.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages