Download examples/python-operator-dataflow/dataflow_llm.yml from TomPei/csg-robomaster: direct link, hf CLI and curl.
- Browser
- Download file 2.06 kB
-
https://huggingface.co/datasets/TomPei/csg-robomaster/resolve/main/examples/python-operator-dataflow/dataflow_llm.yml
- Command line
-
hf download hf://datasets/TomPei/csg-robomaster/examples/python-operator-dataflow/dataflow_llm.yml
-
curl -L -o dataflow_llm.yml https://huggingface.co/datasets/TomPei/csg-robomaster/resolve/main/examples/python-operator-dataflow/dataflow_llm.yml
2.06 kB
| nodes: | |
| # - id: rerun | |
| # custom: | |
| # source: dora-rerun | |
| # inputs: | |
| # image: webcam/image | |
| # boxes2d: object_detection/bbox | |
| # textlog_llm: whisper/text | |
| # # textlog_policy: whisper/text_policy | |
| # envs: | |
| # IMAGE_WIDTH: 1920 | |
| # IMAGE_HEIGHT: 1080 | |
| # IMAGE_DEPTH: 3 | |
| # RERUN_MEMORY_LIMIT: 10% | |
| - id: webcam | |
| operator: | |
| python: webcam.py | |
| inputs: | |
| tick: dora/timer/millis/50 | |
| outputs: | |
| - image | |
| - id: object_detection | |
| operator: | |
| python: object_detection.py | |
| inputs: | |
| image: webcam/image | |
| outputs: | |
| - bbox | |
| - id: plot | |
| operator: | |
| python: plot.py | |
| inputs: | |
| image: webcam/image | |
| bbox: object_detection/bbox | |
| line: llm/line | |
| keyboard_buffer: keyboard/buffer | |
| user_message: keyboard/submitted | |
| assistant_message: llm/assistant_message | |
| ## Speech to text | |
| - id: keyboard | |
| custom: | |
| source: keyboard_op.py | |
| outputs: | |
| - buffer | |
| - submitted | |
| - record | |
| - ask | |
| - send | |
| - change | |
| inputs: | |
| recording: whisper/text | |
| - id: microphone | |
| operator: | |
| python: microphone_op.py | |
| inputs: | |
| record: keyboard/record | |
| outputs: | |
| - audio | |
| - id: whisper | |
| operator: | |
| python: whisper_op.py | |
| inputs: | |
| audio: microphone/audio | |
| outputs: | |
| - text | |
| ## Code Modifier | |
| - id: vectordb | |
| operator: | |
| python: sentence_transformers_op.py | |
| inputs: | |
| query: keyboard/change | |
| saved_file: file_saver/saved_file | |
| outputs: | |
| - raw_file | |
| - id: llm | |
| operator: | |
| python: llm_op.py | |
| inputs: | |
| code_modifier: vectordb/raw_file | |
| assistant: keyboard/ask | |
| message_sender: keyboard/send | |
| outputs: | |
| - modified_file | |
| - line | |
| - assistant_message | |
| - id: file_saver | |
| operator: | |
| python: file_saver_op.py | |
| inputs: | |
| file: llm/modified_file | |
| outputs: | |
| - saved_file | |