Skip to content

Commit

Permalink
feat(framework) Add additional user prompt for flowertune template …
Browse files Browse the repository at this point in the history
…in `flwr new` (#3760)
  • Loading branch information
yan-gao-GY authored Jul 10, 2024
1 parent a9795a4 commit cf75d41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/py/flwr/cli/new/new.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,11 @@ def new(
bold=True,
)
)

_add = " huggingface-cli login\n" if framework_str == "flowertune" else ""
print(
typer.style(
f" cd {package_name}\n" + " pip install -e .\n flwr run\n",
f" cd {package_name}\n" + " pip install -e .\n" + _add + " flwr run\n",
fg=typer.colors.BRIGHT_CYAN,
bold=True,
)
Expand Down

0 comments on commit cf75d41

Please sign in to comment.