%%{init: {'theme': 'default', 'themeVariables': { 'fontSize': '16px', 'fontFamily': 'arial', 'nodeTextColor': '#000000', 'mainBkg': '#f5f5f5', 'labelBackgroundColor': 'transparent' }}}%%
flowchart LR
A([Start])
X{Is this a one-off app that<br>can be done in-browser and<br>doesn't need heavy Python?}
Y[Just ask an LLM<br>to make it for you]
A --> X
X -->|Yes| Y
X -->|No| B
subgraph Python-Frameworks[" "]
direction LR
B{Running a simple<br>AI model?}
B -->|Yes| C[Use Gradio]
B -->|No| F{Need complex app with<br>lots of interactive changes?}
F -->|Yes| E[Use Shiny]
F -->|No| H[Use Streamlit]
end
style C fill:#90EE90,color:#000000,font-weight:bold
style H fill:#90EE90,color:#000000,font-weight:bold
style E fill:#90EE90,color:#000000,font-weight:bold
style Y fill:#90EE90,color:#000000,font-weight:bold,font-size:16px,stroke:#000000,stroke-width:3px
style B fill:#f5f5f5,color:#000000,font-weight:bold
style F fill:#f5f5f5,color:#000000,font-weight:bold
style A fill:#f5f5f5,color:#000000,font-weight:bold,fontSize:20px
style X fill:#f5f5f5,color:#000000,font-weight:bold
style Python-Frameworks fill:#e0e0e0,stroke-dasharray: 5 5