Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -634,43 +634,6 @@ with gr.Blocks(title="π MOUSE Workflow", theme=gr.themes.Soft(), css=CSS) as
|
|
| 634 |
outputs=export_preview
|
| 635 |
)
|
| 636 |
|
| 637 |
-
# βββ Instructions βββ
|
| 638 |
-
with gr.Accordion("π How to Use", open=False):
|
| 639 |
-
gr.Markdown(
|
| 640 |
-
"""
|
| 641 |
-
### π Quick Start
|
| 642 |
-
|
| 643 |
-
1. **Import Workflow**
|
| 644 |
-
- Paste JSON directly in the code editor
|
| 645 |
-
- Or upload a JSON file
|
| 646 |
-
- Click "Load Workflow" to visualize
|
| 647 |
-
|
| 648 |
-
2. **Design Workflow**
|
| 649 |
-
- Drag components from sidebar
|
| 650 |
-
- Connect nodes (output β input)
|
| 651 |
-
- Edit node properties
|
| 652 |
-
|
| 653 |
-
3. **Export Workflow**
|
| 654 |
-
- Preview JSON with "Preview JSON" button
|
| 655 |
-
- Download with "Download JSON" button
|
| 656 |
-
|
| 657 |
-
4. **Generate UI**
|
| 658 |
-
- Click "Generate & Run UI" button
|
| 659 |
-
- Fill in the auto-generated inputs
|
| 660 |
-
- Click "Execute" to run the workflow
|
| 661 |
-
|
| 662 |
-
### π‘ Features
|
| 663 |
-
- Visual workflow designer
|
| 664 |
-
- JSON import/export with copy-paste
|
| 665 |
-
- Auto-generate UI for end-users
|
| 666 |
-
- Real-time workflow execution
|
| 667 |
-
|
| 668 |
-
### π― Node Types
|
| 669 |
-
- **Input**: ChatInput, textInput, numberInput
|
| 670 |
-
- **Processing**: llmNode, textProcessor
|
| 671 |
-
- **Output**: ChatOutput, textOutput
|
| 672 |
-
"""
|
| 673 |
-
)
|
| 674 |
|
| 675 |
# -------------------------------------------------------------------
|
| 676 |
# π μ€ν
|
|
|
|
| 634 |
outputs=export_preview
|
| 635 |
)
|
| 636 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 637 |
|
| 638 |
# -------------------------------------------------------------------
|
| 639 |
# π μ€ν
|