Skip to content

Instantly share code, notes, and snippets.

View haixuanTao's full-sized avatar
Working from home

Haixuan Xavier Tao haixuanTao

Working from home
View GitHub Profile
@haixuanTao
haixuanTao / dataflow.yml
Last active September 17, 2024 04:01
VLM
nodes:
- id: webcam
custom:
source: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/opencv_stream.py
outputs:
- image
- id: idefics2
operator:
python: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/idefics2_op.py
inputs:
## Use `mdbook init --theme` first
## Modify the generated `theme/index.hbs
## Go to <div id="content"> and add below {{ content }
## The script that is generated here: https://giscus.app/
<div id="content" class="content">
<main>
{{{ content }}}
<script src="https://giscus.app/client.js"