Doesn't run pip when already installed
parent
db93f06a21
commit
33683c21ea
|
|
@ -1,2 +1,5 @@
|
|||
import launch
|
||||
launch.run_pip("install --upgrade transformers", "Requirment of Prompt-Maker")
|
||||
if not launch.is_installed("transformers"):
|
||||
launch.run_pip("install --upgrade transformers", "Requirement of Prompt-Maker")
|
||||
if not launch.is_installed("torch"):
|
||||
launch.run_pip("install --upgrade torch", "Requirement of Prompt-Maker")
|
||||
Loading…
Reference in New Issue