Spaces:
Running
Running
Commit
·
9c9646e
1
Parent(s):
96d7f77
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,6 @@
|
|
1 |
|
2 |
# Install dependencies
|
3 |
import os
|
4 |
-
os.system(
|
5 |
-
'conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch' # noqa
|
6 |
-
)
|
7 |
os.system('python -m mim install mmocr')
|
8 |
os.system('python -m mim install "mmcv==2.0.0rc4"')
|
9 |
os.system('python -m mim install mmengine')
|
|
|
1 |
|
2 |
# Install dependencies
|
3 |
import os
|
|
|
|
|
|
|
4 |
os.system('python -m mim install mmocr')
|
5 |
os.system('python -m mim install "mmcv==2.0.0rc4"')
|
6 |
os.system('python -m mim install mmengine')
|