csg-robomaster / examples /hf-operator /dataflow_vlm_basic.yml
cistine's picture
Upload 490 files
b98ffbb verified
nodes:
# - id: plot
# custom:
# source: dora-rerun
# inputs:
# image: webcam/image
# textlog_whisper: whisper/text
# textlog_vlm: bunny/speak
# envs:
# IMAGE_WIDTH: 1280
# IMAGE_HEIGHT: 720
# IMAGE_DEPTH: 3
# RERUN_MEMORY_LIMIT: 10%
- id: bunny
operator:
source: /root/miniconda3/envs/idefices2/bin/python
python: bunny_demo.py
inputs:
image:
source: webcam/image
queue_size: 1
text: whisper/text
outputs:
- speak
- control
- id: robot
custom:
source: /root/miniconda3/envs/robomaster/bin/python
args: robot.py
inputs:
control: bunny/control
led: reload/led
- id: webcam
custom:
source: opencv_stream.py
outputs:
- image
- id: whisper
custom:
source: whisper_op.py
inputs:
audio: dora/timer/millis/1000
outputs:
- text
- id: parler
operator:
source: /root/miniconda3/envs/idefices2/bin/python
python: parler_op.py
inputs:
text:
source: bunny/speak
queue_size: 1
- id: reload
operator:
python: reload.py
inputs:
image: dora/timer/millis/500
outputs:
- led