import HfIcon from "./HfIcon"; import GlassContainer from "./GlassContainer"; import GlassButton from "./GlassButton"; import { GLASS_EFFECTS } from "../constants"; interface WelcomeScreenProps { onStart: () => void; onVideoUpload: () => void; } export default function WelcomeScreen({ onStart, onVideoUpload }: WelcomeScreenProps) { return (
{/* Main Title Card */}

FastVLM WebGPU

Real-time video captioning powered by{" "} FastVLM-0.5B

{/* Webcam Status Card */}

Camera ready

{/* How It Works Card */}

How it works:

1

You are about to load{" "} FastVLM-0.5B , a powerful multimodal model optimized for in-browser inference.

2

Everything runs entirely in your browser with{" "} Transformers.js {" "} and ONNX Runtime Web, meaning no data is sent to a server. It can even run offline!

3

Choose between live camera feed or upload a video file.

{/* Start Options */}
📹
Live Camera
📁
Upload Video

AI model will load when you choose an option

); }