Spaces:
Runtime error
Runtime error
brjathu
commited on
Commit
•
f88ff7a
1
Parent(s):
c2489b8
detectron fix
Browse files
app.py
CHANGED
@@ -24,6 +24,7 @@ try:
|
|
24 |
import detectron2
|
25 |
except:
|
26 |
import os
|
|
|
27 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
28 |
|
29 |
OUT_FOLDER = 'demo_out'
|
|
|
24 |
import detectron2
|
25 |
except:
|
26 |
import os
|
27 |
+
os.system('pip install --upgrade pip')
|
28 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
29 |
|
30 |
OUT_FOLDER = 'demo_out'
|