import streamlit as st def calculate_scores(audience, goal, priority, has_lms, learning_environment, budget_range): """ Calculate scores for all training formats based on user inputs """ recommendations = { 'microlearning': { 'name': 'Microlearning Modules', 'description': 'Short, bite-sized learning units (5-10 minutes each)', 'best_for': 'Busy professionals, skill reinforcement, mobile learning', 'pros': ['High engagement', 'Easy to consume', 'Flexible scheduling', 'Great retention'], 'cons': ['Limited depth per module', 'Requires series planning'], 'sample_link': 'https://demo.motivace.com/creative/MotechDemo/Franke-MyticoOverview/index.html#/' }, 'elearning': { 'name': 'E-Learning Courses', 'description': 'Comprehensive online courses with interactive elements', 'best_for': 'Detailed skill development, certification programs, scalable training', 'pros': ['Comprehensive coverage', 'Interactive features', 'Progress tracking', 'Scalable'], 'cons': ['Higher development cost', 'Longer time commitment'], 'sample_link': 'https://demo.motivace.com/creative/MotechDemo/ZipsCarWash_BodyLanguage/' }, 'powerpoint': { 'name': 'PowerPoint Presentations', 'description': 'Traditional slide-based presentations for instructor-led or self-study', 'best_for': 'Quick deployment, budget-conscious, familiar format', 'pros': ['Fast to create', 'Cost-effective', 'Easy to update', 'Widely compatible'], 'cons': ['Less engaging', 'Limited interactivity', 'Passive learning'], 'sample_link': 'https://drive.google.com/file/d/19zDU8li50_Vs3jZqW_Uy8Pq5HYRmJDmc/view?usp=sharing' }, 'pdf_guides': { 'name': 'PDF Guides & Manuals', 'description': 'Comprehensive written resources and reference materials', 'best_for': 'Reference materials, detailed procedures, offline access', 'pros': ['Detailed information', 'Portable', 'Easy to distribute', 'Low cost'], 'cons': ['Text-heavy', 'Less engaging', 'Difficult to track usage'], 'sample_link': 'https://www.motechhq.com/contentdemos/BunzleBrochure_SinglePg_Digital_Abbreviated.pdf' }, 'webinars': { 'name': 'Webinar Series', 'description': 'Live or recorded online presentations with Q&A opportunities', 'best_for': 'Expert knowledge sharing, live interaction, thought leadership', 'pros': ['Real-time interaction', 'Expert access', 'Engaging format', 'Can be recorded'], 'cons': ['Scheduling challenges', 'Technical requirements', 'Limited replay value'], 'sample_link': 'https://elearningindustry.com/webinars' }, 'infographics': { 'name': 'Infographics & Job Aids', 'description': 'Visual quick-reference materials and process guides', 'best_for': 'Quick reference, process reminders, visual learners', 'pros': ['Highly visual', 'Quick consumption', 'Easy to share', 'Cost-effective'], 'cons': ['Limited detail', 'Not suitable for complex topics', 'Static content'], 'sample_link': 'https://drive.google.com/file/d/1LKfLZH_g1WvbqtciCyzE-E4IRX-W2N2x/view?usp=sharing' }, 'video_tutorials': { 'name': 'Video Tutorials', 'description': 'Step-by-step video demonstrations and explanations', 'best_for': 'Software training, demonstrations, visual learning', 'pros': ['Highly engaging', 'Perfect for demos', 'Reusable', 'Appeals to visual learners'], 'cons': ['Production time', 'File size/bandwidth', 'Updates require re-recording'], 'sample_link': 'https://elearningindustry.com/video-training-education' }, 'blended': { 'name': 'Blended Learning Approach', 'description': 'Combination of multiple formats for comprehensive training', 'best_for': 'Complex topics, diverse learning styles, maximum effectiveness', 'pros': ['Addresses all learning styles', 'Comprehensive', 'Flexible', 'High retention'], 'cons': ['More complex to develop', 'Higher resource requirements', 'Coordination needed'], 'sample_link': 'https://www.motechhq.com' } } # Initialize scores scores = {key: 0 for key in recommendations.keys()} # Priority scoring (highest weight) if priority == "Budget/cost-effectiveness": scores['pdf_guides'] += 15 scores['powerpoint'] += 12 scores['infographics'] += 12 scores['microlearning'] += 8 scores['video_tutorials'] += 5 scores['webinars'] += 5 scores['elearning'] += 3 scores['blended'] += 1 elif priority == "Speed of deployment": scores['powerpoint'] += 15 scores['pdf_guides'] += 12 scores['infographics'] += 12 scores['microlearning'] += 8 scores['webinars'] += 6 scores['video_tutorials'] += 4 scores['elearning'] += 2 scores['blended'] += 1 elif priority == "Engagement/interactivity": scores['elearning'] += 15 scores['microlearning'] += 12 scores['video_tutorials'] += 12 scores['webinars'] += 10 scores['blended'] += 8 scores['infographics'] += 4 scores['powerpoint'] += 2 scores['pdf_guides'] += 1 elif priority == "Scalability": scores['elearning'] += 15 scores['microlearning'] += 12 scores['video_tutorials'] += 10 scores['blended'] += 8 scores['powerpoint'] += 6 scores['pdf_guides'] += 6 scores['infographics'] += 5 scores['webinars'] += 3 # Audience scoring if audience == "New Hires - Anyone going through onboarding or ramp-up": scores['elearning'] += 10 scores['microlearning'] += 8 scores['blended'] += 8 scores['video_tutorials'] += 6 elif audience == "Frontline Employees - Customer service, retail, field workers, production staff, etc.": scores['microlearning'] += 10 scores['infographics'] += 8 scores['video_tutorials'] += 6 scores['powerpoint'] += 5 elif audience == "People Leaders - Managers, supervisors, team leads": scores['microlearning'] += 8 scores['webinars'] += 8 scores['elearning'] += 6 scores['blended'] += 6 elif audience == "Sales & Customer-Facing Teams - Sales reps, account managers, support agents": scores['microlearning'] += 10 scores['video_tutorials'] += 8 scores['webinars'] += 6 scores['infographics'] += 5 elif audience == "Technical or Skilled Roles - Engineers, IT, operations, or hands-on specialists": scores['elearning'] += 10 scores['video_tutorials'] += 8 scores['pdf_guides'] += 6 scores['microlearning'] += 5 elif audience == "External Partners or Clients - Channel partners, franchisees, customers, vendors": scores['elearning'] += 8 scores['video_tutorials'] += 8 scores['webinars'] += 6 scores['pdf_guides'] += 5 elif audience == "Not Sure / Mixed Audience": scores['blended'] += 10 scores['elearning'] += 8 scores['microlearning'] += 6 # Goal scoring if goal == "Software/system training": scores['video_tutorials'] += 10 scores['elearning'] += 7 scores['microlearning'] += 5 elif goal == "Compliance training": scores['elearning'] += 10 scores['blended'] += 6 scores['powerpoint'] += 5 elif goal == "Leadership development": scores['blended'] += 10 scores['webinars'] += 8 scores['elearning'] += 6 elif goal == "Process documentation": scores['pdf_guides'] += 10 scores['infographics'] += 8 scores['video_tutorials'] += 6 elif goal == "Basic knowledge transfer": scores['microlearning'] += 8 scores['powerpoint'] += 7 scores['pdf_guides'] += 6 # Learning environment scoring if learning_environment == "Formal Classroom or Scheduled Sessions - Instructor-led, in-person, or structured virtual sessions.": scores['powerpoint'] += 8 scores['webinars'] += 6 scores['blended'] += 5 elif learning_environment == "Individual, Self-Paced - Learners complete training on their own time, independently.": scores['elearning'] += 10 scores['microlearning'] += 8 scores['video_tutorials'] += 7 scores['pdf_guides'] += 5 elif learning_environment == "Team-Based or Collaborative - Group learning sessions, discussions, or peer-based activities.": scores['webinars'] += 10 scores['blended'] += 8 scores['elearning'] += 5 elif learning_environment == "On-the-Job / Workplace-Based - Learning happens in the flow of work or during active job tasks.": scores['infographics'] += 10 scores['microlearning'] += 8 scores['video_tutorials'] += 6 elif learning_environment == "Mobile or On-the-Go - Training needs to be accessed on phones or tablets — often in short bursts.": scores['microlearning'] += 10 scores['infographics'] += 8 scores['video_tutorials'] += 5 elif learning_environment == "Technical or Hands-On Lab Environment - Requires specialized equipment, environments, or simulation training.": scores['video_tutorials'] += 10 scores['elearning'] += 8 scores['blended'] += 6 elif learning_environment == "Remote / Distributed Teams - Learners are in different locations or time zones.": scores['elearning'] += 8 scores['webinars'] += 8 scores['microlearning'] += 6 scores['video_tutorials'] += 6 elif learning_environment == "Not Sure / A Mix of All": scores['blended'] += 10 scores['elearning'] += 6 scores['microlearning'] += 5 # Budget scoring if budget_range == "Low": scores['pdf_guides'] += 6 scores['powerpoint'] += 5 scores['infographics'] += 5 scores['elearning'] += 4 elif budget_range == "Medium": scores['elearning'] += 6 scores['video_tutorials'] += 4 scores['webinars'] += 3 elif budget_range == "High": scores['microlearning'] += 6 scores['blended'] += 4 # If budget_range is "" or "Prefer not to say", no budget scoring is applied # Sort by score and return top 3 with their details sorted_recommendations = sorted(scores.items(), key=lambda x: x[1], reverse=True) top_3 = sorted_recommendations[:3] result = [] for key, score in top_3: rec_data = recommendations[key].copy() rec_data['score'] = score result.append(rec_data) return result # Streamlit setup st.set_page_config(page_title="Training Content Format Recommender", layout="wide") # Initialize session state if "recommendations" not in st.session_state: st.session_state["recommendations"] = None if "form_key" not in st.session_state: st.session_state["form_key"] = 0 # Header with contact info st.markdown("""
Powered by Motivation Technologies - Questions? Contact Ben Parrino at bparrino@motechhq.com
Click the recommendation name to view a sample and learn more.
", unsafe_allow_html=True) # Primary recommendation st.markdown(f"Description: {primary['description']}
Best for: {primary['best_for']}
This tool provides general guidance based on best practices. For a customized training strategy that fits your unique organizational needs, our experts are ready to help.
💡 Consider your specific organizational needs, resources, and learner preferences when making final decisions.