Unverified Commit e5d3d63c authored by Daniel Serebrenik's avatar Daniel Serebrenik Committed by GitHub
Browse files

[Benchmark] Fix terminal colors in benchmark_serving_multi_turn (python 3.12) (#22730)


Signed-off-by: default avatardaniels <daniels@pliops.com>
parent 3d9d40ef
...@@ -4,7 +4,7 @@ import logging ...@@ -4,7 +4,7 @@ import logging
from enum import Enum from enum import Enum
class Color(str, Enum): class Color(Enum):
RED = "\033[91m" RED = "\033[91m"
GREEN = "\033[92m" GREEN = "\033[92m"
BLUE = "\033[94m" BLUE = "\033[94m"
...@@ -13,6 +13,9 @@ class Color(str, Enum): ...@@ -13,6 +13,9 @@ class Color(str, Enum):
YELLOW = "\033[93m" YELLOW = "\033[93m"
RESET = "\033[0m" RESET = "\033[0m"
def __str__(self):
return self.value
TEXT_SEPARATOR = "-" * 100 TEXT_SEPARATOR = "-" * 100
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment