|
|
@ -53,7 +53,7 @@ |
|
|
|
" ['pip', 'install', 'ftfy', 'gradio', 'regex', 'tqdm', 'transformers==4.21.2', 'timm', 'fairscale', 'requests'],\n", |
|
|
|
" ['pip', 'install', 'ftfy', 'gradio', 'regex', 'tqdm', 'transformers==4.21.2', 'timm', 'fairscale', 'requests'],\n", |
|
|
|
" ['pip', 'install', '-e', 'git+https://github.com/openai/CLIP.git@main#egg=clip'],\n", |
|
|
|
" ['pip', 'install', '-e', 'git+https://github.com/openai/CLIP.git@main#egg=clip'],\n", |
|
|
|
" ['pip', 'install', '-e', 'git+https://github.com/pharmapsychotic/BLIP.git@lib#egg=blip'],\n", |
|
|
|
" ['pip', 'install', '-e', 'git+https://github.com/pharmapsychotic/BLIP.git@lib#egg=blip'],\n", |
|
|
|
" ['git', 'clone', '-b', 'lib', 'https://github.com/pharmapsychotic/clip-interrogator.git']\n", |
|
|
|
" ['git', 'clone', 'https://github.com/pharmapsychotic/clip-interrogator.git']\n", |
|
|
|
" ]\n", |
|
|
|
" ]\n", |
|
|
|
" for cmd in install_cmds:\n", |
|
|
|
" for cmd in install_cmds:\n", |
|
|
|
" print(subprocess.run(cmd, stdout=subprocess.PIPE).stdout.decode('utf-8'))\n", |
|
|
|
" print(subprocess.run(cmd, stdout=subprocess.PIPE).stdout.decode('utf-8'))\n", |
|
|
|