Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,8 @@ import gradio as gr
|
|
2 |
import os
|
3 |
|
4 |
# update modelscope
|
5 |
-
os.system("pip install -U modelscope -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://mirror.sjtu.edu.cn/pypi/web/simple")
|
|
|
6 |
|
7 |
import datetime
|
8 |
from modelscope.pipelines import pipeline
|
|
|
2 |
import os
|
3 |
|
4 |
# update modelscope
|
5 |
+
# os.system("pip install -U modelscope -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://mirror.sjtu.edu.cn/pypi/web/simple")
|
6 |
+
os.system('pip install "modelscope[cv]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html')
|
7 |
|
8 |
import datetime
|
9 |
from modelscope.pipelines import pipeline
|