Spaces:
Runtime error
Runtime error
fixing opencv
Browse files
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
|
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
|