# 🧠 TriviaVerse – Wikipedia-Powered Quiz Generator **TriviaVerse** is a smart quiz generator that creates questions from **Wikipedia**, **Wikidata**, and **Wikibooks**. It transforms open-access knowledge into fun and educational MCQs and flashcards using **open-source AI models**. --- ## 🌍 Live App Access the live version on Hugging Face Spaces: 🔗 https://huggingface.co/spaces/Bharath370/Trivia1 --- ## 🎯 Project Objective Build an AI-powered educational quiz platform that: - Pulls structured data from Wikimedia APIs - Uses LLMs to convert text into multiple-choice questions - Lets users play trivia by topic, difficulty, or random mode --- ## 🌐 APIs Used - 📚 Wikipedia API - 🧠 Wikidata API - 📘 Wikibooks API --- ## 🤖 AI Integration Utilizes Hugging Face models like `google/flan-t5-base` or `mistral-7b-instruct` to: - Generate multiple-choice questions - Summarize answers or provide hints - Work offline with local model caching --- ## 🛠️ Tech Stack | Component | Tool | |-----------|-----------------------------| | Backend | Python + FastAPI | | Frontend | Python + Streamlit | | AI Model | Hugging Face Transformers | | Hosting | Local / Hugging Face Spaces | --- ## 👥 Team - **Bharath Linga Reddy Palem** – Backend - **Raghavender Reddy P** – AI Prompt Design + Integration - **C Vamshidhar Reddy** – Frontend UI/UX - **Bandi Bala Sai Manikanta** – Testing, Docs, Demo Video - **D Prem Kowshik** – API Integration & Debugging --- ## 🚀 How to Run Locally ```bash git clone cd TriviaVerse python -m venv .venv source .venv/bin/activate pip install -r requirements.txt streamlit run app.py ``` --- ## 📺 Demo Video ▶️ --- ## 🔮 Future Features - 🏆 Leaderboards and scoring - 💾 Save or export quizzes - 🌐 Multilingual support (Indian languages coming soon) --- ## 🤝 Contributions Feel free to fork this project, open issues, or submit PRs. Let’s make learning smarter and more accessible — together! --- ## 📄 License This project is licensed under the MIT License.