From b16b680e4566ed22be209eba864c22644d953c49 Mon Sep 17 00:00:00 2001 From: Heng Pan Date: Fri, 22 Nov 2024 14:56:33 +0000 Subject: [PATCH] add hint --- src/py/flwr/cli/new/new.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/py/flwr/cli/new/new.py b/src/py/flwr/cli/new/new.py index 3cbde991ff6e..b46754f1ad23 100644 --- a/src/py/flwr/cli/new/new.py +++ b/src/py/flwr/cli/new/new.py @@ -280,8 +280,14 @@ def new( _add = " huggingface-cli login\n" if llm_challenge_str else "" print( typer.style( - f" cd {package_name}\n" + " pip install -e .\n" + _add + " flwr run\n", + f" cd {package_name}\n" + " pip install -e .", fg=typer.colors.BRIGHT_CYAN, bold=True, - ) + ), + typer.style("# Optional if dependencies are installed\n", dim=True), + typer.style( + _add + " flwr run\n", + fg=typer.colors.BRIGHT_CYAN, + bold=True, + ), )