A comprehensive Python application that generates and improves PowerPoint presentations using AI. Features include text-to-PPT generation, reference material integration, presentation improvement capabilities, and support for multiple AI providers.
- π AI-Powered Generation: Create presentations from natural language prompts
- π Upload Layout/Old PPT: Use existing presentations, PDFs, documents, and URLs as inspiration
- π§ Presentation Improvement: Analyze and enhance existing PowerPoint files
- π Web Interface: User-friendly Gradio-based web application with tabbed interface
- π» Command Line Interface: Full CLI access for automation and scripting
- Download from lmstudio.ai
- User-friendly GUI interface
- Easy model management
- No command-line experience required
- Download from ollama.com
- Command-line based
- Extensive model library
- More technical control
- Python 3.7+
- RAM: 8GB minimum (16GB recommended for larger models)
- Storage: 5-50GB for AI models (depending on size)
- OS: Windows, macOS, or Linux
git clone https://github.com/studentGarv/PPT-Maker.git
cd PPT-Maker# Install core dependencies
pip install -r requirements.txt
# For web interface
pip install -r requirements_web.txt- Download and install LM Studio from lmstudio.ai
- Launch LM Studio
- Go to Search tab and download the models(gpt-oss:20b and nomic-embed-text)
- Go to Chat tab and load your downloaded model
- Go to Local Server tab and click Start Server
- β PPT Maker will auto-detect LM Studio!
# Install Ollama (visit https://ollama.com )
# Pull required models
ollama pull gpt-oss:20b
ollama pull nomic-embed-text
# Start Ollama server
ollama serve# Test AI provider connection
python ppt_maker.py --test-connection
# Run interactive demo
python test_lm_studio.py # For LM Studio
python ppt_maker.py --test-connection --provider ollama # For Ollama# Start the web application
python web_app.py
# Access at: http://localhost:7861-
π Create New Presentation Tab:
- Enter presentation topic
- Configure slides and AI model
- Upload old presentations for reference
- Add reference URLs for additional context
- Generate presentations
-
π§ Improve Existing Presentation Tab:
- Upload existing PowerPoint files
- AI-powered analysis and enhancement
- Remove duplicate content automatically
- Download improved presentations
-
βοΈ Configuration Tab:
- View current AI provider status
- See available models
- Monitor system status
# Simple generation (auto-detects best AI provider and generates timestamped file)
python ppt_maker.py "Create a presentation about artificial intelligence"
# Specify AI provider
python ppt_maker.py "Business strategy overview" --provider lm_studio
python ppt_maker.py "Data analysis" --provider ollama
# Specify number of slides
python ppt_maker.py "Business strategy overview" --slides 10
# Custom output file (overrides automatic timestamping)
python ppt_maker.py "Data science fundamentals" --output "data_science.pptx"
# Use specific AI model
python ppt_maker.py "Climate change solutions" --model "meta-llama-3.1-8b-instruct"
# Disable content enhancement for faster generation
python ppt_maker.py "Quick company overview" --no-enhance
# Verbose output for debugging
python ppt_maker.py "Detailed analysis" --verbose# Test connection (auto-detects providers)
python ppt_maker.py --test-connection
# Test specific provider
python ppt_maker.py --test-connection --provider lm_studio
python ppt_maker.py --test-connection --provider ollama
# List available models from current provider
python ppt_maker.py --list-models# Improve existing presentation (auto-generates timestamped output)
python ppt_improver.py input.pptx
# Specify output file
python ppt_improver.py input.pptx output_improved.pptx
# With custom models and settings
python ppt_improver.py input.pptx output.pptx --outline-model llama3 --embed-model nomic-embed-text
# With custom threshold and verbose output
python ppt_improver.py input.pptx output.pptx --threshold 0.9 --verbose
# Using a template
python ppt_improver.py input.pptx output.pptx --template custom_template.pptx# Test LM Studio integration
python test_lm_studio.py
# Interactive model selection demo
python model_selection_demo.py
# See model recommendations
python model_selection_demo.py --recommendations
# Interactive model testing
python model_selection_demo.py --interactivePPT-Maker/
βββ π Web Interface
β βββ web_app.py # Gradio web interface with tabs
βββ π» Command Line Tools
β βββ ppt_maker.py # Main CLI application
β βββ ppt_improver.py # Presentation improvement CLI
βββ π€ AI Integration
β βββ ai_client_manager.py # Multi-provider AI client manager
β βββ ollama_client.py # Ollama API client
β βββ lm_studio_client.py # LM Studio API client
β βββ config.py # AI provider configuration
βββ π§ Core Logic
β βββ ppt_generator.py # Core PPT generation logic
β βββ pptx_generator.py # PowerPoint file creation
β βββ rag_processor.py # Reference material processing
βββ π§ͺ Testing & Demo
β βββ test_lm_studio.py # LM Studio integration test
β βββ model_selection_demo.py # Model selection demonstration
β βββ test_ppt_maker.py # Unit tests
βββ π Documentation
β βββ README.md # This file
β βββ LM_STUDIO_GUIDE.md # LM Studio setup guide
β βββ RAG_FEATURES.md # Reference material features
β βββ DEPLOYMENT.md # Deployment instructions
βββ π¦ Dependencies
β βββ requirements.txt # Core Python dependencies
β βββ requirements_web.txt # Web interface dependencies
βββ π οΈ Build Tools
βββ build_executable.bat # Windows executable builder
βββ create_portable.bat # Portable version creator
# Check LM Studio status
python test_lm_studio.py
# Common solutions:
# 1. Ensure LM Studio app is running
# 2. Load a model in the Chat tab
# 3. Start Local Server (port 1234)
# 4. Check firewall settings# Check Ollama status
python ppt_maker.py --test-connection --provider ollama
# Common solutions:
ollama serve # Start Ollama server
ollama list # Check available models
ollama pull llama3 # Download missing models# Force specific provider
python ppt_maker.py "Topic" --provider lm_studio
python ppt_maker.py "Topic" --provider ollama- "Cannot connect to AI service"
# Test connections
python ppt_maker.py --test-connection
# Check specific provider
python test_lm_studio.py
ollama list- "No models found"
# For LM Studio: Load a model in the app
# For Ollama: Pull models
ollama pull gpt-oss:20b
ollama pull nomic-embed-text- Dependencies Issues
# Reinstall dependencies
pip install -r requirements.txt --force-reinstall
# For web interface
pip install -r requirements_web.txt
# For PDF support
pip install PyPDF2- Port Conflicts
# LM Studio default: localhost:1234
# Ollama default: localhost:11434
# Web app: localhost:7861
# Use custom ports
python ppt_maker.py "Topic" --base-url "http://localhost:9999"- Memory/Performance Issues
# Use smaller models
python ppt_maker.py "Topic" --model "phi-3-mini"
# Disable content enhancement
python ppt_maker.py "Topic" --no-enhance
# Use fewer slides
python ppt_maker.py "Topic" --slides 5- Timestamp Format
# Default format: presentation_20250903_140530.pptx
# Improved format: input_improved_20250903_140530.pptx
# Override with custom name
python ppt_maker.py "Topic" --output "custom_name.pptx"# Compare providers for same topic
python ppt_maker.py "AI Ethics" --provider lm_studio --output "ai_ethics_lm.pptx"
python ppt_maker.py "AI Ethics" --provider ollama --output "ai_ethics_ollama.pptx"- Ollama β local LLM runtime for downloading and running models (development and demo). https://ollama.com[ref]
- LM Studio β desktop app and local server for running GGUF models and experimenting with prompts. https://lmstudio.ai[ref]
π― PPT Maker - Transform your ideas into professional presentations with AI!