Spaces:
Runtime error
Runtime error
HubHop
commited on
Commit
·
94cec51
1
Parent(s):
45f8c66
update
Browse files- app.py +1 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -19,7 +19,7 @@ def main():
|
|
19 |
# parser.add_argument('--video', help='Video file or webcam id')
|
20 |
|
21 |
parser.add_argument(
|
22 |
-
'--device', default='
|
23 |
parser.add_argument(
|
24 |
'--palette',
|
25 |
default='cityscapes',
|
|
|
19 |
# parser.add_argument('--video', help='Video file or webcam id')
|
20 |
|
21 |
parser.add_argument(
|
22 |
+
'--device', default='cpu', help='Device used for inference')
|
23 |
parser.add_argument(
|
24 |
'--palette',
|
25 |
default='cityscapes',
|
requirements.txt
CHANGED
@@ -3,7 +3,8 @@ opencv-python
|
|
3 |
mmengine
|
4 |
plotly
|
5 |
gradio
|
6 |
-
|
|
|
7 |
SciPy
|
8 |
ftfy
|
9 |
regex
|
|
|
3 |
mmengine
|
4 |
plotly
|
5 |
gradio
|
6 |
+
pip==23.0.1
|
7 |
+
mmcv==2.0.1
|
8 |
SciPy
|
9 |
ftfy
|
10 |
regex
|