Spaces:
Sleeping
Sleeping
| import streamlit as st | |
| import streamlit.components.v1 as components | |
| # -------------------------- | |
| # Mermaid Renderer Function | |
| # -------------------------- | |
| def render_mermaid(mermaid_code, height=300): | |
| """Render a mermaid diagram using an HTML snippet in a Streamlit component.""" | |
| html_code = f""" | |
| <html> | |
| <head> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js"></script> | |
| <style> | |
| body {{ | |
| background-color: white; | |
| font-family: sans-serif; | |
| }} | |
| </style> | |
| </head> | |
| <body> | |
| <div class="mermaid"> | |
| {mermaid_code} | |
| </div> | |
| <script> | |
| mermaid.initialize({{startOnLoad:true}}); | |
| </script> | |
| </body> | |
| </html> | |
| """ | |
| components.html(html_code, height=height) | |
| # -------------------------- | |
| # Markdown Outlines for Each Area | |
| # -------------------------- | |
| markdown_areas = { | |
| "1. π₯ Leadership Management Collaboration LeCo": r''' | |
| 1. π₯ Leadership Management Collaboration LeCo | |
| π Strategic and Cross-Functional Leadership - Global strategy, team coordination and vendor management | |
| π€ Team Building and Agile Collaboration - Coaching, agile processes and stakeholder management | |
| π‘ Domain Expertise and Innovation - Deep AI framework knowledge and product strategy | |
| ''', | |
| "2. π Security Compliance Reliability SeCo": r''' | |
| 2. π Security Compliance Reliability SeCo | |
| π‘οΈ Security Operations and Incident Response - Incident management, pen testing and vulnerability assessment | |
| β Compliance and Governance - Data quality, compliance policies and IAM | |
| π System Hardening and Automation - Secure HPC, ML, Python, Bash automation and cost optimization | |
| ''', | |
| "3. π Data Engineering Analytics Data Governance DaEn": r''' | |
| 3. π Data Engineering Analytics Data Governance DaEn | |
| π§ Data Processing and Ingestion - Multi, modal data, event handling and ETL pipelines | |
| π Analytics, Forecasting and Visualization - BI, dashboards and forecasting | |
| π Data Governance and Quality - Modeling, warehousing and stakeholder communications | |
| ''', | |
| "4. π’ Community OpenSource Communication CoOS": r''' | |
| 4. π’ Community OpenSource Communication CoOS | |
| π Technical Documentation and Demos - Code examples, demos and notebooks | |
| π¬ Community Engagement and Collaboration - Public speaking, social media and collaborations | |
| ''', | |
| "5. π± FullStack UI Mobile Product Development FuMo": r''' | |
| 5. π± FullStack UI Mobile Product Development FuMo | |
| π± Mobile and Web App Development - Full stack development, CI/CD and API design | |
| π¨ UI, UX and Frontend Integration - React, Next.js, TypeScript and intuitive design | |
| π Backend and Cross-Platform Tools - Python, Node, cloud microservices and ML bridging | |
| ''', | |
| "6. π» Software Cloud MLOps Infrastructure SCMI": r''' | |
| 6. π» Software Cloud MLOps Infrastructure SCMI | |
| π οΈ Developer Tooling and Observability - Full stack dev, debugging and SRE practices | |
| π€ ML Frameworks and Automation - Python APIs, PyTorch, Keras and Ray, Horovod | |
| π Data Pipelines and Processing - Spark, Airflow and ETL pipelines | |
| βοΈ Cloud and Infrastructure Provisioning - Kubernetes, Docker, Terraform and cloud integration | |
| ''', | |
| "7. π€ Machine Learning AI Model Development MLAI": r''' | |
| 7. π€ Machine Learning AI Model Development MLAI | |
| ποΈ Large-Scale Architectures and Retrieval - Transformers, RAG and vector DBs | |
| βοΈ Experimentation and Distributed Training - RL, quantization and ablation studies | |
| π‘ Application and API Development - Agentic AI, LLM inference and microservices | |
| π Optimization and Monitoring - Performance tuning, scaling and reliability | |
| ''', | |
| "8. π§ Systems Infrastructure LowLevel Engineering SyIn": r''' | |
| 8. π§ Systems Infrastructure LowLevel Engineering SyIn | |
| π§ Hardware and OS Integration - Linux, embedded, C, C++ | |
| βοΈ Performance and Tuning - Cross-layer tuning, throughput and load balancing | |
| π€ Advanced ML and Automation - Cross-team innovation, observability and ServiceNow | |
| π Distributed and HPC Deployment - Data center HPC, ML, GPU orchestration and multi-GPU pipelines | |
| ''', | |
| "9. π― Specialized Domains Emerging Technologies SpDo": r''' | |
| 9. π― Specialized Domains Emerging Technologies SpDo | |
| π₯ Advanced CV and 3D Graphics - Neural rendering, reconstruction and graphics engines | |
| π Robotics and Autonomous Systems - Autonomous vehicles, sensor fusion and path planning | |
| π» HPC and Hardware Integration - GPU, SoC modeling, HPC networking and prototyping | |
| π’ AI Quantization and Inference - Quantization, in-browser inference and neural sparse models | |
| ''' | |
| } | |
| # -------------------------- | |
| # Mermaid Diagrams for Each Area | |
| # -------------------------- | |
| mermaid_areas = { | |
| "1. π₯ Leadership Management Collaboration LeCo": r''' | |
| graph LR | |
| LeCo["πΌLeCoπ₯ Leadership and Collaboration"] | |
| LeCo -->|π Guides| LeCo1a["1. π Strategic and Cross-Functional Leadership - Global strategy, team coordination and vendor management"] | |
| LeCo -->|π€ Supports| LeCo1b["2. π€ Team Building and Agile Collaboration - Coaching, agile processes and stakeholder management"] | |
| LeCo -->|π‘ Innovates| LeCo1c["3. π‘ Domain Expertise and Innovation - Deep AI knowledge and product strategy"] | |
| ''', | |
| "2. π Security Compliance Reliability SeCo": r''' | |
| graph LR | |
| SeCo["πSeCoπ Security and Compliance"] | |
| SeCo -->|π‘οΈ Protects| SeCo1["1. π‘οΈ Security Operations and Incident Response - Incident management, pen testing and vulnerability assessment"] | |
| SeCo -->|β Regulates| SeCo2["2. β Compliance and Governance - Data quality, compliance policies and IAM"] | |
| SeCo -->|π Secures| SeCo3["3. π System Hardening and Automation - Secure HPC, ML, Python, Bash automation and cost optimization"] | |
| ''', | |
| "3. π Data Engineering Analytics Data Governance DaEn": r''' | |
| graph LR | |
| DaEn["πͺDaEnπ Data Engineering"] | |
| DaEn -->|π§ Processes| DaEn1["1. π§ Data Processing and Ingestion - Multi-modal data, event handling and ETL"] | |
| DaEn -->|π Analyzes| DaEn2["2. π Analytics, Forecasting and Visualization - BI, dashboards and forecasting"] | |
| DaEn -->|π Governs| DaEn3["3. π Data Governance and Quality - Modeling, warehousing and stakeholder communications"] | |
| ''', | |
| "4. π’ Community OpenSource Communication CoOS": r''' | |
| graph LR | |
| CoOS["πͺCoOSπ’ Community OpenSource"] | |
| CoOS -->|π Documents| CoOS1["1. π Technical Documentation and Demos - Code examples, demos and notebooks"] | |
| CoOS -->|π¬ Engages| CoOS2["2. π¬ Community Engagement and Collaboration - Public speaking, social media and collaborations"] | |
| ''', | |
| "5. π± FullStack UI Mobile Product Development FuMo": r''' | |
| graph LR | |
| FuMo["βFuMoπ± FullStack UI Mobile"] | |
| FuMo -->|π± Develops| FuMo1["1. π± Mobile and Web App Development - Full stack development, CI/CD and API design"] | |
| FuMo -->|π¨ Designs| FuMo2["2. π¨ UI, UX and Frontend Integration - React, Next.js, TypeScript and intuitive design"] | |
| FuMo -->|π Connects| FuMo3["3. π Backend and Cross-Platform Tools - Python, Node, cloud microservices and ML bridging"] | |
| ''', | |
| "6. π» Software Cloud MLOps Infrastructure SCMI": r''' | |
| graph LR | |
| SoCM["π²SoCMπ» Software Cloud MLOps"] | |
| SoCM -->|π οΈ Optimizes| SCMI1["1. π οΈ Developer Tooling and Observability - Full stack dev, debugging and SRE practices"] | |
| SoCM -->|π€ Automates| SCMI2["2. π€ ML Frameworks and Automation - Python APIs, PyTorch, Keras and Ray, Horovod"] | |
| SoCM -->|π Pipelines| SCMI3["3. π Data Pipelines and Processing - Spark, Airflow and ETL pipelines"] | |
| SoCM -->|βοΈ Deploys| SCMI4["4. βοΈ Cloud and Infrastructure Provisioning - Kubernetes, Docker, Terraform and cloud integration"] | |
| ''', | |
| "7. π€ Machine Learning AI Model Development MLAI": r''' | |
| graph LR | |
| AIML["βοΈAIMLπ€ AI Machine Learning"] | |
| AIML -->|ποΈ Structures| MLAI1["1. ποΈ Large-Scale Architectures and Retrieval - Transformers, RAG and vector DBs"] | |
| AIML -->|βοΈ Experiments| MLAI2["2. βοΈ Experimentation and Distributed Training - RL, quantization and ablation studies"] | |
| AIML -->|π‘ Deploys| MLAI3["3. π‘ Application and API Development - Agentic AI, LLM inference and microservices"] | |
| AIML -->|π Optimizes| MLAI4["4. π Optimization and Monitoring - Performance tuning, scaling and reliability"] | |
| ''', | |
| "8. π§ Systems Infrastructure LowLevel Engineering SyIn": r''' | |
| graph LR | |
| SyIn["πͺSyInπ§ Systems Infrastructure"] | |
| SyIn -->|π§ Integrates| SyIn1["1. π§ Hardware and OS Integration - Linux, embedded, C, C++"] | |
| SyIn -->|βοΈ Tunes| SyIn2["2. βοΈ Performance and Tuning - Cross-layer tuning, throughput and load balancing"] | |
| SyIn -->|π€ Enhances| SyIn3["3. π€ Advanced ML and Automation - Cross-team innovation, observability and ServiceNow"] | |
| SyIn -->|π Scales| SyIn4["4. π Distributed and HPC Deployment - Data center HPC, ML, GPU orchestration and multi-GPU pipelines"] | |
| ''', | |
| "9. π― Specialized Domains Emerging Technologies SpDo": r''' | |
| graph LR | |
| SpDo["π±SpDoπ― Specialized Domains"] | |
| SpDo -->|π₯ Visualizes| SpDo1["1. π₯ Advanced CV and 3D Graphics - Neural rendering, reconstruction and graphics engines"] | |
| SpDo -->|π Automates| SpDo2["2. π Robotics and Autonomous Systems - Autonomous vehicles, sensor fusion and path planning"] | |
| SpDo -->|π» Computes| SpDo3["3. π» HPC and Hardware Integration - GPU, SoC modeling, HPC networking and prototyping"] | |
| SpDo -->|π’ Quantizes| SpDo4["4. π’ AI Quantization and Inference - Quantization, in-browser inference and neural sparse models"] | |
| ''' | |
| } | |
| # -------------------------- | |
| # Markdown Sections | |
| # -------------------------- | |
| md_combined_outline = r''' | |
| # π Hands On ML App. Dev. with Mixture of Experts and Multiagent Skills and State of Art ML Architecture | |
| 1. **πΌLeCoπ₯ Leadership and Collaboration : ** Strategic leadership and team management. | |
| 2. **πSeCoπ Security and Compliance : ** Security operations, compliance, and system hardening. | |
| 3. **πͺDaEnπ Data Engineering : ** Data processing, analytics, and governance. | |
| 4. **πͺCoOSπ’ Community OpenSource : ** Community engagement, documentation, and collaboration. | |
| 5. **βFuMoπ± FullStack UI Mobile : ** Mobile and web app development with ML integration. | |
| 6. **π²SoCMπ» Software Cloud MLOps : ** Cloud infrastructure, ML frameworks, and automation. | |
| 7. **βοΈAIMLπ€ AI Machine Learning : ** Largeβscale architectures, distributed training, and inference. | |
| 8. **πͺSyInπ§ Systems Infrastructure : ** Hardware, OS, and distributed HPC deployments. | |
| 9. **π±SpDoπ― Specialized Domains : ** Advanced CV, robotics, HPC, and AI quantization. | |
| ''' | |
| md_submodels_outline = r''' | |
| ## 1. π₯ Leadership Management Collaboration LeCo | |
| 1. **π Strategic and Cross-Functional Leadership - Global strategy, team coordination and vendor management** | |
| 2. **π€ Team Building and Agile Collaboration - Coaching, agile processes and stakeholder management** | |
| 3. **π‘ Domain Expertise and Innovation - Deep AI framework knowledge and product strategy** | |
| ## 2. π Security Compliance Reliability SeCo | |
| 1. **π‘οΈ Security Operations and Incident Response - Incident management, pen testing and vulnerability assessment** | |
| 2. **β Compliance and Governance - Data quality standards, compliance policies and IAM solutions** | |
| 3. **π System Hardening and Automation - Secure HPC, ML, Python, Bash automation and cost optimization** | |
| ## 3. π Data Engineering Analytics Data Governance DaEn | |
| 1. **π§ Data Processing and Ingestion - Multi, modal data, event handling and ETL pipelines** | |
| 2. **π Analytics, Forecasting and Visualization - BI, dashboards and forecasting** | |
| 3. **π Data Governance and Quality - Modeling, warehousing and stakeholder comms** | |
| ## 4. π’ Community OpenSource Communication CoOS | |
| 1. **π Technical Documentation and Demos - Code examples, demos and notebooks** | |
| 2. **π¬ Community Engagement and Collaboration - Public speaking, social media and collabs** | |
| ## 5. π± FullStack UI Mobile Product Development FuMo | |
| 1. **π± Mobile and Web App Development - Full stack development, CI/CD and API design** | |
| 2. **π¨ UI, UX and Frontend Integration - React, Next.js, TypeScript and intuitive design** | |
| 3. **π Backend and Cross-Platform Tools - Python, Node, cloud microservices and ML bridging** | |
| ## 6. π» Software Cloud MLOps Infrastructure SoCM | |
| 1. **π οΈ Developer Tooling and Observability - Full stack dev, debugging and SRE practices** | |
| 2. **π€ ML Frameworks and Automation - Python APIs, PyTorch, Keras and Ray, Horovod** | |
| 3. **π Data Pipelines and Processing - Spark, Airflow and ETL pipelines** | |
| 4. **βοΈ Cloud and Infrastructure Provisioning - Kubernetes, Docker, Terraform and cloud integration** | |
| ## 7. π€ AI Machine Learning Model Development AIML | |
| 1. **ποΈ Large-Scale Architectures and Retrieval - Transformers, RAG and vector DBs** | |
| 2. **βοΈ Experimentation and Distributed Training - RL, quantization and ablation studies** | |
| 3. **π‘ Application and API Development - Agentic AI, LLM inference and microservices** | |
| 4. **π Optimization and Monitoring - Performance tuning, scaling and reliability** | |
| ## 8. π§ Systems Infrastructure LowLevel Engineering SyIn | |
| 1. **π§ Hardware and OS Integration - Linux, embedded, C, C++** | |
| 2. **βοΈ Performance and Tuning - Cross-layer tuning, throughput and load balancing** | |
| 3. **π€ Advanced ML and Automation - Cross-team innovation, observability and ServiceNow** | |
| 4. **π Distributed and HPC Deployment - Data center HPC, ML, GPU orchestration and multi-GPU pipelines** | |
| ## 9. π― Specialized Domains Emerging Technologies SpDo | |
| 1. **π₯ Advanced CV and 3D Graphics - Neural rendering, reconstruction and graphics engines** | |
| 2. **π Robotics and Autonomous Systems - Autonomous vehicles, sensor fusion and path planning** | |
| 3. **π» HPC and Hardware Integration - GPU, SoC modeling, HPC networking and prototyping** | |
| 4. **π’ AI Quantization and Inference - Quantization, in-browser inference and neural sparse models** | |
| ''' | |
| md_glossary = r''' | |
| # π Glossary | |
| 1. **π§ Systems Infrastructure SyIn:** Hardware and OS, level operations enabling computing environments. | |
| 2. **π» Software Cloud MLOps SCMI:** Tools and processes for managing ML workflows and cloud infrastructures. | |
| 3. **π€ Machine Learning AI MLAI:** Techniques and architectures for developing and deploying AI models. | |
| 4. **π Data Engineering DaEn:** Methods for processing, analyzing and governing data. | |
| 5. **π Security and Compliance SeCo:** Practices ensuring system security and adherence to regulations. | |
| 6. **π₯ Leadership and Collaboration LeCo:** Strategies for effective team management and cross-functional coordination. | |
| 7. **π± FullStack UI Mobile FuMo:** End-to-end development of mobile and web interfaces integrating ML. | |
| 8. **π― Specialized Domains SpDo:** Focus areas in advanced tech such as computer vision, robotics and HPC. | |
| 9. **π’ Community OpenSource CoOS:** Engagement with open-source communities and technical education. | |
| 10. **HPC:** High Performance Computing; large-scale computational systems and clusters. | |
| 11. **LLM:** Large Language Models; deep learning models for natural language processing. | |
| 12. **MLOps:** Machine Learning Operations; practices for deploying and managing ML systems. | |
| ''' | |
| md_python_libraries = r''' | |
| # π Python Libraries Guide | |
| 1. **π₯ TensorFlow (tensorflow) -** Deep learning library for research and production. | |
| 2. **π€ Huggingface Hub (huggingface_hub) -** Platform for sharing and accessing pre-trained models. | |
| 3. **π Transformers (transformers) -** Library for NLP and model inference. | |
| 4. **π₯ Torch (torch) -** PyTorch library for dynamic deep learning. | |
| 5. **π Streamlit (streamlit) -** Rapidly build interactive ML web apps. | |
| 6. **ποΈ Gradio (gradio) -** Create customizable web interfaces for ML models. | |
| 7. **πΌ Pandas (pandas) -** Data manipulation and analysis. | |
| 8. **π’ NumPy (numpy) -** Numerical computing and array operations. | |
| 9. **π¬ LangChain (langchain) -** Framework for building applications with language models. | |
| 10. **π€ OpenAI (openai) -** API for accessing GPT models and AI services. | |
| 11. **π Azure MSAL (msal) -** Authentication library for Azure services. | |
| 12. **βοΈ Scikit-learn (scikit-learn) -** Machine learning tools for data mining and analysis. | |
| 13. **π Matplotlib (matplotlib) -** Plotting library for data visualization. | |
| 14. **π Seaborn (seaborn) -** Statistical data visualization. | |
| 15. **π Plotly (plotly) -** Interactive graphing library. | |
| 16. **π NLTK (nltk) -** Natural language processing toolkit. | |
| 17. **π§ͺ SciPy (scipy) -** Scientific and technical computing. | |
| 18. **β‘ FastAPI (fastapi) -** Build fast APIs for ML applications. | |
| 19. **π Dask (dask) -** Parallel computing with task scheduling. | |
| 20. **π Requests (requests) -** HTTP library for Python. | |
| ''' | |
| md_js_libraries = r''' | |
| # π» JavaScript Libraries Guide | |
| 1. **π₯ React (react) -** Library for building UI components. | |
| 2. **βοΈ Redux (redux) -** Predictable state container for JavaScript apps. | |
| 3. **π Node.js (node) -** JavaScript runtime for building server-side applications. | |
| 4. **π» Express (express) -** Web framework for Node.js. | |
| 5. **π D3.js (d3) -** Library for dynamic, interactive data visualizations. | |
| 6. **π Chart.js (chart.js) -** Simple yet flexible charting library. | |
| 7. **π Webpack (webpack) -** Module bundler for JavaScript applications. | |
| 8. **βοΈ Babel (babel) -** Transpiler for next-generation JavaScript. | |
| 9. **π Next.js (next) -** React framework for server-side rendering. | |
| 10. **π¨ Tailwind CSS (tailwindcss) -** Utility-first CSS framework for rapid UI development. | |
| 11. **π jQuery (jquery) -** DOM manipulation library. | |
| 12. **π Lodash (lodash) -** Utility library for JavaScript. | |
| 13. **β° Moment.js (moment) -** Date library for parsing, validating and formatting dates. | |
| 14. **π‘ Axios (axios) -** Promise-based HTTP client. | |
| 15. **π¬ Socket.io (socket.io) -** Real-time communication library. | |
| 16. **πΌ Vue.js (vue) -** Progressive framework for building user interfaces. | |
| 17. **π °οΈ Angular (angular) -** Platform for building mobile and desktop web applications. | |
| 18. **π₯ Ember.js (ember) -** Framework for creating ambitious web applications. | |
| 19. **π Mermaid.js (mermaid) -** Library for generating diagrams and flowcharts. | |
| 20. **π Three.js (three) -** Library for creating 3D graphics in the browser. | |
| ''' | |
| md_picture_mnemonic = r''' | |
| # πΌ Picture Mnemonic Outline | |
| 1. **πΌ Lighthouse -** Represents #1, a beacon of guidance. | |
| 2. **π Eyeglasses -** Symbolizes #2, two lenses for clarity. | |
| 3. **πͺ Stool -** Denotes #3, three legs for stability. | |
| 4. **πͺ Window -** Four panes, representing #4. | |
| 5. **β Hand -** Five fingers for #5. | |
| 6. **π² Dice -** Six sides symbolizing #6. | |
| 7. **βοΈ Cloud -** For #7, light and airy. | |
| 8. **πͺ Gate -** Represents #8, opening new paths. | |
| 9. **π± Cat -** Nine lives, symbolic of #9. | |
| **Mnemonic:** A mnemonic is a memory aid using patterns or associations to enhance recall. Here, we apply the pegword technique by pairing each number with a vivid image to quickly remember complex information. | |
| *(Adapted from McCarthy, M. J. 2007. Mastering the INFORMATION AGE - A Course in Working Smarter, Thinking Better, and Learning Faster. [1])* | |
| [1] McCarthy, M. J. 2007. *Mastering the INFORMATION AGE - A Course in Working Smarter, Thinking Better, and Learning Faster*. Retrieved from https://www.example.com/reference | |
| ''' | |
| md_tweet = r''' | |
| # π¦ Tweet Summary | |
| Unlock your AI mastery with our densified skill tree - from LC to SD - each node paired with powerful mnemonics and vivid visuals (πΌππͺπͺβπ²βοΈπͺπ±) to boost memory and innovation. #AI #ML #Learning #Innovation | |
| ''' | |
| # -------------------------- | |
| # Combined Mermaid Diagram (Overview) | |
| # -------------------------- | |
| combined_mermaid = r''' | |
| graph TD | |
| LeCo["1. π₯ Leadership and Collaboration - LeCo"] | |
| SeCo["2. π Security and Compliance - SeCo"] | |
| DaEn["3. π Data Engineering - DaEn"] | |
| CoOS["4. π’ Community Open Source - CoOS"] | |
| FuMo["5. π± FullStack UI Mobile - FuMo"] | |
| SoCM["6. π» Software Cloud MLOps - SoCM"] | |
| AIML["7. π€ AI Machine Learning - AIML"] | |
| SyIn["8. π§ Systems Infrastructure - SyIn"] | |
| SpDo["9. π― Specialized Domains - SpDo"] | |
| LeCo -->|π§ guides| SeCo | |
| LeCo -->|π leads| AIML | |
| LeCo -->|π€ supports| SyIn | |
| SeCo ---|π secures| AIML | |
| SeCo ---|π‘οΈ protects| SoCM | |
| AIML -->|π§ feeds| DaEn | |
| SoCM -->|β‘ powers| AIML | |
| FuMo ---|π integrates with| SoCM | |
| FuMo -->|β extends to| SpDo | |
| SpDo ---|β¨ enhances| AIML | |
| LeCo ---|ποΈ oversees| SoCM | |
| CoOS ---|π€ collaborates with| LeCo | |
| CoOS ---|π£οΈ informs| DaEn | |
| SpDo ---|π shares with| CoOS | |
| ''' | |
| # -------------------------- | |
| # Streamlit App Layout | |
| # -------------------------- | |
| def main(): | |
| st.set_page_config(page_title="Densified Skill Tree", layout="wide") | |
| # Optionally render combined outlines and submodels if desired: | |
| st.markdown(md_combined_outline, unsafe_allow_html=True) | |
| #st.markdown(md_submodels_outline, unsafe_allow_html=True) | |
| # For each numbered area, display its markdown outline first, then its mermaid diagram. | |
| for key in sorted(markdown_areas.keys(), key=lambda k: int(k.split('.')[0])): | |
| st.markdown(markdown_areas[key], unsafe_allow_html=True) | |
| if key in mermaid_areas: | |
| render_mermaid(mermaid_areas[key], height=350) | |
| # Render the combined mermaid diagram for an overview | |
| render_mermaid(combined_mermaid, height=850) | |
| # Display additional markdown sections | |
| st.markdown(md_glossary, unsafe_allow_html=True) | |
| st.markdown(md_python_libraries, unsafe_allow_html=True) | |
| st.markdown(md_js_libraries, unsafe_allow_html=True) | |
| st.markdown(md_picture_mnemonic, unsafe_allow_html=True) | |
| st.markdown(md_tweet, unsafe_allow_html=True) | |
| if __name__ == "__main__": | |
| main() | |