Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def setup():
|
|
| 9 |
['pip', 'install', 'ftfy', 'gradio', 'regex', 'tqdm', 'transformers==4.21.2', 'timm', 'fairscale', 'requests'],
|
| 10 |
['pip', 'install', 'open_clip_torch'],
|
| 11 |
['pip', 'install', '-e', 'git+https://github.com/pharmapsychotic/BLIP.git@lib#egg=blip'],
|
| 12 |
-
['git', 'clone', '
|
| 13 |
]
|
| 14 |
for cmd in install_cmds:
|
| 15 |
print(subprocess.run(cmd, stdout=subprocess.PIPE).stdout.decode('utf-8'))
|
|
|
|
| 9 |
['pip', 'install', 'ftfy', 'gradio', 'regex', 'tqdm', 'transformers==4.21.2', 'timm', 'fairscale', 'requests'],
|
| 10 |
['pip', 'install', 'open_clip_torch'],
|
| 11 |
['pip', 'install', '-e', 'git+https://github.com/pharmapsychotic/BLIP.git@lib#egg=blip'],
|
| 12 |
+
['git', 'clone', 'https://github.com/pharmapsychotic/clip-interrogator.git']
|
| 13 |
]
|
| 14 |
for cmd in install_cmds:
|
| 15 |
print(subprocess.run(cmd, stdout=subprocess.PIPE).stdout.decode('utf-8'))
|