An interactive AI-powered Java Tutor built with Gradio and the DeepSeek Coder model.
It provides a chat-based learning experience, progress dashboards, and interactive quizzes to help students learn Java effectively.
- π¬ Chat Interface β Ask any Java-related question and get clear, beginner-friendly explanations with examples.
- π Learning Dashboard β Track number of questions asked, code examples provided, and topics covered.
- π§ Quiz Center β Test your Java knowledge with multiple-choice quizzes (Basics, OOP, Advanced, or Overall).
- π Java Quick Reference β Built-in guide with syntax and examples for key Java concepts.
- π¨ Modern UI β Glassmorphism + responsive design using custom Gradio theming.
AI-Java-Tutor/
βββ javaaitutor.py # Main application code (Gradio app + AI Tutor logic)
βββ requirements.txt # List of dependencies
βββ README.md # Project documentation
- Python 3.8+
- Gradio
- Torch with CUDA (recommended for GPU acceleration)
- Transformers
- Accelerate
git clone https://github.com/<Rahul-069>/AI-Java-Tutor.git
cd AI-Java-TutorRun this in your Python environment:
pip install -r requirements.txt
python javaaitutor.py
If running on Google Colab, open the notebook version, set runtime to T4 GPU, and run all cells. Gradio will provide a public link to access the app.
This project demonstrates how AI models can be integrated with Gradio to create an interactive Java tutoring system.