Spaces:
Runtime error
Runtime error
minor improv speedup build (#1)
Browse files- minor improv speedup build (3713b0f9c3cdf9bd6a4392e281e2a75c487dd2de)
Co-authored-by: Radamés Ajna <radames@users.noreply.huggingface.co>
- app.py +1 -1
- requirements.txt +2 -0
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
-
os.system("""pip install "modelscope[multi-modal]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html""")
|
3 |
import gradio as gr
|
4 |
import cv2
|
5 |
from modelscope.pipelines import pipeline
|
|
|
1 |
import os
|
2 |
+
# os.system("""pip install "modelscope[multi-modal]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html""")
|
3 |
import gradio as gr
|
4 |
import cv2
|
5 |
from modelscope.pipelines import pipeline
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
--extra-index-url https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html
|
2 |
+
modelscope[multi-modal]
|