const categoryDemos = [ { name: 'Transformers.js', description: 'Transformers.js', demos: { 'tjs-benchmark': { name: 'Benchmark', description: `Benchmark by Transformers.js`, filename: "https://huggingface.co/spaces/Xenova/webgpu-embedding-benchmark", }, 'tjs-clip': { name: 'OpenAI Clip', description: `Zero-shot Image Classification with OpenAI's CLIP by Transformers.js`, filename: "https://huggingface.co/spaces/Xenova/webgpu-clip", }, 'tjs-depthAnything': { name: 'Depth Anything', description: `Depth Anything by Transformers.js`, filename: "https://huggingface.co/spaces/Xenova/webgpu-depth-anything", }, 'tjs-moondream': { name: 'Moondream', description: `Moondream (Vision-Language Model) by Transformers.js`, filename: "https://huggingface.co/spaces/Xenova/experimental-moondream-webgpu", }, 'tjs-musicGen': { name: 'Text to Music (WASM)', description: `Text to music by Transformers.js`, filename: "https://huggingface.co/spaces/Xenova/musicgen-web", }, 'tjs-phi3': { name: 'Phi3', description: `Phi3 by Transformers.js`, filename: "https://huggingface.co/spaces/Xenova/experimental-phi3-webgpu", }, 'tjs-removeImageBackground': { name: 'Remove Image Background', description: `Image Background Removal by Transformers.js`, filename: "https://huggingface.co/spaces/Xenova/remove-background-webgpu", }, 'tjs-removeVideoBackground': { name: 'Remove Video Background', description: `Video Background Removal by Transformers.js`, filename: "https://huggingface.co/spaces/Xenova/webgpu-video-background-removal", }, 'tjs-yolo': { name: 'Realtime Video Object Detection', description: `Realtime video object detection by Transformers.js`, filename: "https://huggingface.co/spaces/Xenova/video-object-detection", }, }, }, { name: `ONNX Runtime`, description: `ONNX Runtime`, demos: { 'ort-phi3': { name: 'Phi3', description: `phi3 from Microsoft`, filename: "ort-phi3", }, 'ort-sam': { name: 'Segment Anything', description: `Segment Anything from https://github.com/guschmue/ort-webgpu/tree/master/segment-anything`, filename: "ort-sam", }, 'ort-sdturbo': { name: 'Stable Diffusion Turbo', description: `Stable Diffusion Turbo from https://github.com/guschmue/ort-webgpu/tree/master/sd-turbo`, filename: "ort-sdturbo", }, 'ort-tinyllama': { name: 'Tiny Llama', description: `Tiny Llama from https://github.com/guschmue/ort-webgpu/tree/master/chat`, filename: "ort-tinyllama", }, 'ort-yolo': { name: 'Realtime Video Object Detection', description: `Yolo V9 from https://github.com/guschmue/ort-webgpu/tree/master/yolov9`, filename: "ort-yolo", }, }, }, { name: `TFLite`, description: `TFLite`, demos: { 'tflite-gemma': { name: 'Gemma', description: `Gemma with TFLite and MediaPipe from https://github.com/googlesamples/mediapipe/tree/main/examples/llm_inference/js, more info.`, filename: "tflite-gemma", }, }, }, { name: 'TVM', description: 'TVM', demos: { 'tvm-sd': { name: 'Web Stable Diffusion', description: `Web Stable Diffusion`, filename: "https://websd.mlc.ai/", }, 'tvm-llama3': { name: 'Web LLM Llama3', description: `Web LLM Llama3`, filename: "https://webllm.mlc.ai/", }, }, }, { name: `Developer Only`, description: `Developer Only`, demos: { 'dev-ort-phi3': { name: 'Phi3', description: `phi3 from Microsoft`, filename: "dev-ort-phi3", }, }, }, ];