|
|
|
@ -21,11 +21,7 @@ def splash():
|
|
|
|
|
if env_file_empty or config_display_message == "keep":
|
|
|
|
|
print("""
|
|
|
|
|
|
|
|
|
|
Warning: Some packages may not have been installed correctly. to ensure all packages are installed, run:
|
|
|
|
|
pip install python-dotenv
|
|
|
|
|
pip install termcolor
|
|
|
|
|
pip install setuptools
|
|
|
|
|
Pytorch will install with a default cpu config that may be different then the one for your machine. if this causes errors, run:
|
|
|
|
|
Warning: Pytorch will install with a default cpu config that may be different then the one for your machine. if this causes errors, run:
|
|
|
|
|
pip uninstall pytorch
|
|
|
|
|
pip install pytorch
|
|
|
|
|
This message will only display the first time swarms is imported by default.
|
|
|
|
@ -35,7 +31,7 @@ Hit any key to continue, type "keep" | "yes" | "y" to keep showing this message,
|
|
|
|
|
|
|
|
|
|
continue_or_not = input("keep showing message? ")
|
|
|
|
|
|
|
|
|
|
if (env_file_empty and continue_or_not != "keep") or (config_display_message == "keep" and continue_or_not == "dismiss"):
|
|
|
|
|
if (env_file_empty and continue_or_not not in ["yes", "y", "keep"]) or (config_display_message == "keep" and continue_or_not == "dismiss"):
|
|
|
|
|
config["display_message"] = "dismiss"
|
|
|
|
|
elif continue_or_not == "keep" or continue_or_not == None:
|
|
|
|
|
config["display_message"] = "keep"
|
|
|
|
|