akhaliq HF staff radames commited on
Commit
d853533
1 Parent(s): 609815e

minor improv speedup build (#1)

Browse files

- minor improv speedup build (3713b0f9c3cdf9bd6a4392e281e2a75c487dd2de)


Co-authored-by: Radamés Ajna <radames@users.noreply.huggingface.co>

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]