akseljoonas HF Staff commited on
Commit
c99339e
Β·
1 Parent(s): babd3b5

Full HF-yellow ASCII art banner for CLI

Browse files
Files changed (1) hide show
  1. agent/utils/terminal_display.py +13 -16
agent/utils/terminal_display.py CHANGED
@@ -27,22 +27,19 @@ def get_console() -> Console:
27
  # ── Banner ─────────────────────────────────────────────────────────────
28
 
29
  def print_banner() -> None:
30
- logo = Text.from_ansi(
31
- "\033[38;2;255;200;50m" # warm gold
32
- " πŸ€— Hugging Face Agent\n"
33
- "\033[0m"
34
- )
35
- _console.print()
36
- _console.print(
37
- Panel(
38
- logo,
39
- subtitle="[dim]/help for commands Β· /quit to exit[/dim]",
40
- border_style="dim",
41
- expand=False,
42
- padding=(0, 2),
43
- )
44
- )
45
- _console.print()
46
 
47
 
48
  # ── Init progress ──────────────────────────────────────────────────────
 
27
  # ── Banner ─────────────────────────────────────────────────────────────
28
 
29
  def print_banner() -> None:
30
+ # HF yellow: rgb(255, 200, 50) β€” warm gold matching the brand
31
+ Y = "\033[38;2;255;200;50m" # HF yellow
32
+ D = "\033[38;2;180;140;40m" # dimmer gold for accents
33
+ R = "\033[0m"
34
+ art = f"""
35
+ {Y} _ _ _ ___ _ _ {R}
36
+ {Y}| || |_ _ __ _ __ _(_)_ _ __ _ | __|_ _ __ ___ /_\\ __ _ ___ _ _| |_ {R}
37
+ {Y}| __ | || / _` / _` | | ' \\/ _` | | _/ _` / _/ -_) / _ \\/ _` / -_) ' \\ _|{R}
38
+ {Y}|_||_|\\_,_\\__, \\__, |_|_||_\\__, | |_|\\__,_\\__\\___| /_/ \\_\\__, \\___|_||_\\__|{R}
39
+ {D} |___/|___/ |___/ |___/ {R}
40
+ """
41
+ _console.print(art, highlight=False)
42
+ _console.print(" [dim]πŸ€— /help for commands Β· /quit to exit[/dim]\n")
 
 
 
43
 
44
 
45
  # ── Init progress ──────────────────────────────────────────────────────