mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
zen: update usage graph on landing page
This commit is contained in:
parent
f89696509e
commit
fac23a1afc
@ -62,7 +62,7 @@ function LimitsGraph(props: { href: string }) {
|
||||
const rmax = Math.max(1, ...models.map((m) => ratio(m.req)))
|
||||
const log = (n: number) => Math.log10(Math.max(n, 1))
|
||||
const base = 24
|
||||
const p = 2.2
|
||||
const p = 1.8
|
||||
const x = (r: number) => left + base + Math.pow(log(r) / log(rmax), p) * (plot - base)
|
||||
const start = (x(1) / w) * 100
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user