Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
-
import subprocess
|
| 2 |
-
import sys
|
| 3 |
-
print("Reinstalling mmcv")
|
| 4 |
#subprocess.check_call([sys.executable, "-m", "pip", "uninstall", "-y", "mmcv-full==1.3.17"])
|
| 5 |
-
subprocess.check_call([sys.executable, "-m", "pip", "install", "mmcv-full==1.3.17", "-f", "https://download.openmmlab.com/mmcv/dist/cpu/torch1.10.0/index.html"])
|
| 6 |
-
print("mmcv install complete")
|
| 7 |
|
| 8 |
from gradio.outputs import Label
|
| 9 |
from icevision.all import *
|
|
|
|
| 1 |
+
#import subprocess
|
| 2 |
+
#import sys
|
| 3 |
+
#print("Reinstalling mmcv")
|
| 4 |
#subprocess.check_call([sys.executable, "-m", "pip", "uninstall", "-y", "mmcv-full==1.3.17"])
|
| 5 |
+
#subprocess.check_call([sys.executable, "-m", "pip", "install", "mmcv-full==1.3.17", "-f", "https://download.openmmlab.com/mmcv/dist/cpu/torch1.10.0/index.html"])
|
| 6 |
+
#print("mmcv install complete")
|
| 7 |
|
| 8 |
from gradio.outputs import Label
|
| 9 |
from icevision.all import *
|