Skip to content

Commit

Permalink
Update install.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Anshler authored Dec 23, 2023
1 parent 0a44ca1 commit 3183d41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

# if not launch.is_installed("aitextgen"):
# launch.run_pip("install aitextgen==0.6.0", "requirements for MagicPrompt")
if not launch.is_installed("transformers>=4.35.2"):
launch.run_pip("install accelerate>=0.20.3", "requirements for Image Caption")
launch.run_pip("install transformers>=4.35.2", "requirements for Image Caption")
if not launch.is_installed("transformers==4.35.2"):
launch.run_pip("install accelerate==0.20.3", "requirements for Image Caption")
launch.run_pip("install transformers==4.35.2", "requirements for Image Caption")

if not launch.is_installed("open_clip_torch"):
launch.run_pip("install open_clip_torch", "requirements for Image Caption")
Expand Down

0 comments on commit 3183d41

Please sign in to comment.