akhaliq HF staff commited on
Commit
b270c25
1 Parent(s): f5bf298

update reqs

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. requirements.txt +0 -1
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import gradio as gr
2
  import numpy as np
3
  from modelscope.outputs import OutputKeys
 
1
+ import os
2
+ os.system('pip install "modelscope[cv]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html')
3
  import gradio as gr
4
  import numpy as np
5
  from modelscope.outputs import OutputKeys
requirements.txt CHANGED
@@ -1,2 +1 @@
1
  tensorflow
2
- "modelscope[cv]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html
 
1
  tensorflow