Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Aksel Joonas Reedi commited on
Fix CLI particle logo text: ML AGENT → ML INTERN (#46)
Browse files
agent/utils/particle_logo.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
-
"""Particle coalesce effect for the HUGGING FACE ML
|
| 2 |
|
| 3 |
Random particles swirl in from the edges, converge to form the text
|
| 4 |
-
"HUGGING FACE / ML
|
| 5 |
Rendered with braille characters for high detail.
|
| 6 |
|
| 7 |
Based on Leandro's particle_coalesce.py demo.
|
|
@@ -71,7 +71,7 @@ def run_particle_logo(console: Console, hold_seconds: float = 1.5) -> None:
|
|
| 71 |
|
| 72 |
# Get target positions from text
|
| 73 |
text_pixels_line1 = text_to_pixels("HUGGING FACE", scale=2)
|
| 74 |
-
text_pixels_line2 = text_to_pixels("ML
|
| 75 |
|
| 76 |
# Calculate dimensions for centering
|
| 77 |
def get_bounds(pixels):
|
|
|
|
| 1 |
+
"""Particle coalesce effect for the HUGGING FACE ML INTERN logo.
|
| 2 |
|
| 3 |
Random particles swirl in from the edges, converge to form the text
|
| 4 |
+
"HUGGING FACE / ML INTERN", hold briefly, then the final frame is printed.
|
| 5 |
Rendered with braille characters for high detail.
|
| 6 |
|
| 7 |
Based on Leandro's particle_coalesce.py demo.
|
|
|
|
| 71 |
|
| 72 |
# Get target positions from text
|
| 73 |
text_pixels_line1 = text_to_pixels("HUGGING FACE", scale=2)
|
| 74 |
+
text_pixels_line2 = text_to_pixels("ML INTERN", scale=2)
|
| 75 |
|
| 76 |
# Calculate dimensions for centering
|
| 77 |
def get_bounds(pixels):
|