minor improv speedup build

#1
by radames - opened
Files changed (2) hide show
  1. app.py +1 -1
  2. 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]