PeacebinfLow commited on
Commit
30f9ec9
·
verified ·
1 Parent(s): bb28db8

Create layout.py

Browse files
Files changed (1) hide show
  1. app_02/layout.py +28 -0
app_02/layout.py ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ from app_02.ui_chat import build_chat_tab
4
+ from app_02.ui_flowstudio import build_flowstudio_tab
5
+
6
+
7
+ def build_demo():
8
+ with gr.Blocks(title="MindsEye Sandbox FlowStudio") as demo:
9
+ gr.Markdown(
10
+ """
11
+ # 🧠 MindsEye Sandbox FlowStudio
12
+
13
+ This Space combines:
14
+
15
+ 1. **Chat** — a small MindsEye-flavored chatbot with local-only knowledge.
16
+ 2. **Flow Studio** — a text-based flow builder for MindsEye-style graphs.
17
+
18
+ No external APIs. Everything runs from this repo.
19
+ """
20
+ )
21
+
22
+ with gr.Tab("Chat"):
23
+ build_chat_tab()
24
+
25
+ with gr.Tab("Flow Studio"):
26
+ build_flowstudio_tab()
27
+
28
+ return demo