Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
6 months ago | |
|---|---|---|
| .. | ||
| dora_gradio | 10 months ago | |
| tests | 10 months ago | |
| README.md | 10 months ago | |
| demo.yml | 10 months ago | |
| pyproject.toml | 6 months ago | |
A versatile UI interface for Dora-rs that provides text, audio, and video input capabilities using Gradio.
text: For direct text messagesaudio: For raw audio streamimage: For camera feedUsing pip:
python -m venv .venv
source .venv/bin/activate
pip install -e .
The interface will be available at: http://localhost:7860
Create a YAML configuration:
nodes:
- id: ui
build: pip install -e .
path: dora-gradio
outputs:
- text # Text from chat interface
- audio # Raw audio stream
- image # Camera feed
env:
VIRTUAL_ENV: path to your venv # comment this if not using venv
Run with Dora:
dora run demo.yml
nodes:
- id: ui
build: pip install -e .
path: dora-gradio
outputs:
- image # Camera feed
- id: video_processor
build: pip install -e path/to/processor
path: video-processor
inputs:
video: ui/image
nodes:
- id: ui
build: pip install -e .
path: dora-gradio
outputs:
- audio # Raw audio stream
- id: audio_processor
build: pip install -e path/to/processor
path: audio-processor
inputs:
audio: ui/audio
Here's a complete demo pipeline using the UI with visualization and audio processing:
nodes:
- id: ui
build: pip install -e .
path: dora-gradio
outputs:
- text # Text messages
- audio # Raw audio stream
- image # Camera feed
- id: plot
build: pip install dora-rerun
path: dora-rerun
inputs:
text_input: ui/text
audio: ui/audio
image: ui/image
- id: dora-vad
build: pip install -e path/to/dora-vad
path: dora-vad
inputs:
audio: ui/audio
- id: dora-distil-whisper
build: pip install -e path/to/dora-distil-whisper
path: dora-distil-whisper
inputs:
audio: ui/audio
This demo showcases:
dora-gradio's code are released under the MIT License
DORA (Dataflow-Oriented Robotic Architecture) is middleware designed to streamline and simplify the creation of AI-based robotic applications. It offers low latency, composable, and distributed datafl
Rust Python TOML Markdown C other