Spaces:
Sleeping
Sleeping
[Fix] generation token count stats (#50)
Browse files73 unmodified lines74757677787977787980818273 unmodified lines latency: number; generatedTokensCount: number; } let generationStats: [GenerationStatistics] | [GenerationStatistics, GenerationStatistics] = [ { latency: 0, generatedTokensCount: 0 }, ]; // todo: support two models from the starts from the url daw 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