Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -109,29 +109,7 @@ with gr.Blocks(
|
|
109 |
export_btn = gr.Button("πΎ Export JSON", variant="primary", size="lg")
|
110 |
|
111 |
# Instructions
|
112 |
-
|
113 |
-
gr.Markdown("""
|
114 |
-
### π Getting Started
|
115 |
-
|
116 |
-
1. **Add Components**: Drag items from the left sidebar onto the canvas
|
117 |
-
2. **Connect Nodes**: Drag from the blue circle on the right of a node to the left circle of another
|
118 |
-
3. **Edit Properties**: Click any node to see its editable properties on the right panel
|
119 |
-
4. **Organize**: Drag nodes around to create a clean workflow layout
|
120 |
-
5. **Delete**: Use the β button on nodes or click the red circle on connections
|
121 |
-
|
122 |
-
### π― Component Types
|
123 |
-
|
124 |
-
- **π₯ Inputs**: Text fields, file uploads, number inputs
|
125 |
-
- **βοΈ Processing**: Language models, text processors, conditionals
|
126 |
-
- **π€ Outputs**: Text displays, file exports, charts
|
127 |
-
- **π§ Tools**: API calls, data transformers, validators
|
128 |
-
|
129 |
-
### π‘ Pro Tips
|
130 |
-
|
131 |
-
- **Collapsible Panels**: Use the arrow buttons to hide/show sidebars
|
132 |
-
- **Live Updates**: Properties update in real-time as you edit
|
133 |
-
- **Export Options**: Get JSON config for your workflow
|
134 |
-
""")
|
135 |
|
136 |
# Event handlers
|
137 |
export_btn.click(
|
|
|
109 |
export_btn = gr.Button("πΎ Export JSON", variant="primary", size="lg")
|
110 |
|
111 |
# Instructions
|
112 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
|
114 |
# Event handlers
|
115 |
export_btn.click(
|