import MultiSourceCaptioningView from "./components/MultiSourceCaptioningView"; import { useVLMContext } from "./context/useVLMContext"; import { useState } from "react"; export default function App() { const { isLoaded, isLoading, error, loadModel } = useVLMContext(); const [started, setStarted] = useState(false); const handleLoadModel = async () => { try { await loadModel(); setStarted(true); } catch (e) { // error is handled by context } }; if (!started || !isLoaded) { return (