| import gradio as gr | |
| from app_02.ui_chat import build_chat_tab | |
| from app_02.ui_flowstudio import build_flowstudio_tab | |
| def build_demo(): | |
| with gr.Blocks(title="MindsEye Sandbox FlowStudio") as demo: | |
| gr.Markdown( | |
| """ | |
| # 🧠 MindsEye Sandbox FlowStudio | |
| This Space combines: | |
| 1. **Chat** — a small MindsEye-flavored chatbot with local-only knowledge. | |
| 2. **Flow Studio** — a text-based flow builder for MindsEye-style graphs. | |
| No external APIs. Everything runs from this repo. | |
| """ | |
| ) | |
| with gr.Tab("Chat"): | |
| build_chat_tab() | |
| with gr.Tab("Flow Studio"): | |
| build_flowstudio_tab() | |
| return demo | |