Skip to content

Commit

Permalink
made accessible for terminal encodings
Browse files Browse the repository at this point in the history
  • Loading branch information
emcf committed Apr 16, 2024
1 parent 9185c37 commit f4d7cd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thepipe_api/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ def __init__(self, path: str, text: Optional[str] = None, image: Optional[Image.

def print_status(text: str, status: str) -> None:
if status == 'success':
message = Fore.GREEN + f"{text} ✔️"
message = Fore.GREEN + f"{text}"
elif status == 'info':
message = Fore.YELLOW + f"{text}..."
elif status == 'error':
message = Fore.RED + f"{text}"
message = Fore.RED + f"{text}"
print(Style.RESET_ALL + message + Style.RESET_ALL)

def count_tokens(chunks: List[Chunk]) -> int:
Expand Down

0 comments on commit f4d7cd8

Please sign in to comment.