Spaces:
Sleeping
Sleeping
[Fix] generation token count stats
Browse files73 unmodified lines74757677787980818273 unmodified lineslatency: number;generatedTokensCount: number;}let generationStats: [GenerationStatistics] | [GenerationStatistics, GenerationStatistics] = [{ latency: 0, generatedTokensCount: 0 },]; // todo: support two models from the starts from the url dawconst hfTokenLocalStorageKey = "hf_token";73 unmodified lines74757677787980818273 unmodified lineslatency: number;generatedTokensCount: number;}let generationStats = session.conversations.map(_ => ({ latency: 0, generatedTokensCount: 0 })) as| [GenerationStatistics]| [GenerationStatistics, GenerationStatistics];const hfTokenLocalStorageKey = "hf_token";
src/lib/components/InferencePlayground/InferencePlayground.svelte+3-3