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.
- 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
pip install -r requirements.txtstreamlit run app.pyOnce running, enter your DeepSeek API Key in the sidebar (get one at platform.deepseek.com), then:
- Choose input method: paste text or upload a PDF
- Enter keywords (comma-separated)
- Click "Generate Flashcards"
| Package | Purpose |
|---|---|
| streamlit | Web interface |
| openai | DeepSeek API calls |
| pymupdf | PDF text extraction |