From 56f42afdf6858a0533ccdaceb4387f687872b28e Mon Sep 17 00:00:00 2001 From: N3N Date: Mon, 24 Jun 2024 16:45:13 -0700 Subject: [PATCH] fix: remove panel to make it easy to copy --- src/promptml_cli/__about__.py | 2 +- src/promptml_cli/main.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/promptml_cli/__about__.py b/src/promptml_cli/__about__.py index 78e6f69..05cd3b4 100644 --- a/src/promptml_cli/__about__.py +++ b/src/promptml_cli/__about__.py @@ -1,2 +1,2 @@ # pylint: disable=invalid-name -version = "0.2.1" +version = "0.2.2" diff --git a/src/promptml_cli/main.py b/src/promptml_cli/main.py index bdeb08d..a7b2554 100644 --- a/src/promptml_cli/main.py +++ b/src/promptml_cli/main.py @@ -129,11 +129,11 @@ def run(): continue message += chunk markdown_content = Markdown(message, "\n") - panel = Panel(markdown_content, border_style=neon_blue, safe_box=True) - live.update(panel) + live.update(markdown_content) if not args.raw: - console.print(f"\nTime taken: {time.time() - now} seconds", style="bold green") + time_taken = round(time.time() - now, 2) + console.print(f"\nTime taken: {time_taken} seconds", style="bold green") if __name__ == '__main__': run()