Spaces:
Sleeping
Sleeping
wongshennan
commited on
Commit
•
f4476fb
1
Parent(s):
ee6bb9a
reconfig installs
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import argparse, subprocess, sys, time
|
|
2 |
|
3 |
def setup():
|
4 |
install_cmds = [
|
5 |
-
['pip', 'install', 'ftfy', 'gradio', 'regex', 'tqdm', 'stability-sdk', '
|
6 |
['pip', 'install', '-e', 'git+https://github.com/openai/CLIP.git@main#egg=clip'],
|
7 |
['pip', 'install', '-e',
|
8 |
'git+https://github.com/pharmapsychotic/BLIP.git@lib#egg=blip'],
|
|
|
2 |
|
3 |
def setup():
|
4 |
install_cmds = [
|
5 |
+
['pip', 'install', 'ftfy', 'gradio', 'regex', 'tqdm', 'stability-sdk', 'transformers==4.21.2', 'timm', 'fairscale', 'requests'],
|
6 |
['pip', 'install', '-e', 'git+https://github.com/openai/CLIP.git@main#egg=clip'],
|
7 |
['pip', 'install', '-e',
|
8 |
'git+https://github.com/pharmapsychotic/BLIP.git@lib#egg=blip'],
|