mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-25 09:44:25 +01:00
Show sdkit installation progress during the first run
This commit is contained in:
parent
fea77e97a0
commit
2e84a421f3
@ -45,7 +45,7 @@ def install(module_name: str, module_version: str):
|
||||
install_cmd = f"python -m pip install --upgrade {module_name}=={module_version}"
|
||||
if index_url:
|
||||
install_cmd += f" --index-url {index_url}"
|
||||
if module_name == "sdkit":
|
||||
if module_name == "sdkit" and version("sdkit") is not None:
|
||||
install_cmd += " -q"
|
||||
|
||||
print(">", install_cmd)
|
||||
|
Loading…
Reference in New Issue
Block a user