piperod91 commited on
Commit
183ef48
1 Parent(s): b265a61

fixing opencv

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ if os.getenv('SYSTEM') == 'spaces':
9
  subprocess.call('mim install mmcv>=2.0.0'.split())
10
  subprocess.call('mim install mmengine==0.7.2'.split())
11
  subprocess.call('mim install mmdet==3.0.0'.split())
12
- subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
13
  subprocess.call('pip install git+https://github.com/cocodataset/panopticapi.git'.split())
14
 
15
  import gradio as gr
 
9
  subprocess.call('mim install mmcv>=2.0.0'.split())
10
  subprocess.call('mim install mmengine==0.7.2'.split())
11
  subprocess.call('mim install mmdet==3.0.0'.split())
12
+ subprocess.call('pip install opencv-python'.split())
13
  subprocess.call('pip install git+https://github.com/cocodataset/panopticapi.git'.split())
14
 
15
  import gradio as gr