Spaces:
Runtime error
Runtime error
wenmeng.zwm
commited on
Commit
·
f4be71a
1
Parent(s):
a9c0e29
refine pip install to avoid download git lfs data
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ if os.getenv('SYSTEM') == 'spaces':
|
|
| 16 |
subprocess.run(shlex.split('pip uninstall -y modelscope'))
|
| 17 |
subprocess.run(
|
| 18 |
shlex.split(
|
| 19 |
-
'
|
| 20 |
)
|
| 21 |
|
| 22 |
from modelscope.outputs import OutputKeys
|
|
|
|
| 16 |
subprocess.run(shlex.split('pip uninstall -y modelscope'))
|
| 17 |
subprocess.run(
|
| 18 |
shlex.split(
|
| 19 |
+
'GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/modelscope/modelscope && cd modelscope && git checkout fe67395 && pip install -e .')
|
| 20 |
)
|
| 21 |
|
| 22 |
from modelscope.outputs import OutputKeys
|