refactor: remove summary text from prefix_cache, leave bottom space for subtitles
This commit is contained in:
parent
01ccf192ea
commit
740e766e99
|
|
@ -110,10 +110,9 @@ class PrefixCache(Scene):
|
||||||
|
|
||||||
# ── summary below tree (tree stays visible) ──
|
# ── summary below tree (tree stays visible) ──
|
||||||
summary = VGroup(
|
summary = VGroup(
|
||||||
Text("KV cache reuse across requests", font_size=26, color=GREEN),
|
Text("KV cache reuse across requests", font_size=26, color=GREEN)
|
||||||
Text("First-token latency: up to 50% reduction", font_size=18, color=GRAY),
|
|
||||||
).arrange(DOWN, buff=0.2)
|
).arrange(DOWN, buff=0.2)
|
||||||
summary.to_edge(DOWN, buff=0.5)
|
summary.to_edge(DOWN, buff=1.0)
|
||||||
self.play(Write(summary))
|
self.play(Write(summary))
|
||||||
self.wait(2)
|
self.wait(2)
|
||||||
self.play(*[FadeOut(m) for m in self.mobjects])
|
self.play(*[FadeOut(m) for m in self.mobjects])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue